185 lines
8.0 KiB
XML
185 lines
8.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<glade-catalog name="vn" library="gladevn" since="1.0" domain="glade3" depends="gtk+" book="hedera">
|
|
|
|
<init-function>glade_vn_init</init-function>
|
|
|
|
<glade-widget-classes>
|
|
|
|
<glade-widget-class name="GvnParam" generic-name="param" toplevel="True" title="Parameter" icon-name="widget-gtk-action">
|
|
<properties>
|
|
<property id="null" ignore="True"/>
|
|
<property id="editable" ignore="True"/>
|
|
</properties>
|
|
</glade-widget-class>
|
|
|
|
<glade-widget-class name="DbModel" generic-name="model" title="Data Model" icon-name="widget-gtk-liststore">
|
|
<properties>
|
|
<property id="conn" ignore="True" disabled="True"/>
|
|
<property id="stmt" ignore="True" disabled="True"/>
|
|
<property save="False" weight="1.2" id="use-file" ignore="True"/>
|
|
<property save="False" weight="1.3" id="sql" ignore="True"/>
|
|
</properties>
|
|
<actions>
|
|
<action stock="gtk-edit" important="True" id="launch_editor" name="Edit…"/>
|
|
</actions>
|
|
<action-activate-function>glade_db_model_action_activate</action-activate-function>
|
|
<create-editor-property-function>glade_db_sql_create_eprop</create-editor-property-function>
|
|
<write-widget-function>glade_db_model_write_widget</write-widget-function>
|
|
</glade-widget-class>
|
|
|
|
<glade-widget-class name="DbIterator" generic-name="iterator" title="Iterator" icon-name="widget-gtk-texttagtable">
|
|
<properties>
|
|
<property id="model" ignore="True">
|
|
<parameter-spec>
|
|
<type>GParamObject</type>
|
|
<value-type>DbModel</value-type>
|
|
</parameter-spec>
|
|
</property>
|
|
</properties>
|
|
<create-editor-property-function>glade_db_model_holder_create_eprop</create-editor-property-function>
|
|
</glade-widget-class>
|
|
|
|
<glade-widget-class name="DbParam" generic-name="param" toplevel="True" title="Iterator Parameter" icon-name="widget-gtk-texttag">
|
|
<properties>
|
|
<property id="iterator" ignore="True"/>
|
|
<property id="column" ignore="True"/>
|
|
</properties>
|
|
</glade-widget-class>
|
|
|
|
<glade-widget-class name="DbFileLoader" generic-name="file-loader" toplevel="True"
|
|
title="HTTP File Loader" icon-name="widget-gtk-recentmanager">
|
|
<properties>
|
|
<property id="host" ignore="True"/>
|
|
<property id="path" ignore="True"/>
|
|
<property id="cache" ignore="True"/>
|
|
<property id="size" ignore="True"/>
|
|
</properties>
|
|
</glade-widget-class>
|
|
|
|
<glade-widget-class name="VnGrid" generic-name="grid" title="Grid" icon-name="widget-gtk-treeview">
|
|
</glade-widget-class>
|
|
|
|
<glade-widget-class name="VnColumnCheck" generic-name="column-check" title="Column Check" icon-name="widget-gtk-cellrenderertoggle"/>
|
|
<glade-widget-class name="VnColumnEntry" generic-name="column-entry" title="Column Entry" icon-name="widget-gtk-cellrenderertext"/>
|
|
|
|
<glade-widget-class name="VnColumnSpin" generic-name="column-Spin" title="Column Spin" icon-name="widget-gtk-cellrendererspin">
|
|
<properties>
|
|
<property id="digits" ignore="True" disabled="True"/>
|
|
<property id="climb-rate" ignore="True" disabled="True"/>
|
|
</properties>
|
|
</glade-widget-class>
|
|
|
|
<glade-widget-class name="VnColumnCombo" generic-name="column-combo" title="Column Combo" icon-name="widget-gtk-cellrenderercombo">
|
|
<properties>
|
|
<property id="show-column" weight="1.2"/>
|
|
<property id="sort-column" weight="1.3"/>
|
|
<property id="model" ignore="True">
|
|
<parameter-spec>
|
|
<type>GParamObject</type>
|
|
<value-type>DbModel</value-type>
|
|
</parameter-spec>
|
|
</property>
|
|
</properties>
|
|
<create-editor-property-function>glade_db_model_holder_create_eprop</create-editor-property-function>
|
|
</glade-widget-class>
|
|
|
|
<glade-widget-class name="VnColumnImage" generic-name="column-image" title="Column Image" icon-name="widget-gtk-cellrendererpixbuf">
|
|
<properties>
|
|
<property id="host" ignore="True"/>
|
|
<property id="path" ignore="True"/>
|
|
</properties>
|
|
</glade-widget-class>
|
|
|
|
<glade-widget-class name="VnHandler" generic-name="handler" title="Handler" icon-name="widget-gtk-buttonbox">
|
|
<properties>
|
|
<property id="size" query="False" default="1"/>
|
|
</properties>
|
|
</glade-widget-class>
|
|
|
|
<glade-widget-class name="VnCombo" generic-name="combo" title="Combo Box Field" icon-name="widget-gtk-combobox">
|
|
<properties>
|
|
<property id="model" ignore="True">
|
|
<parameter-spec>
|
|
<type>GParamObject</type>
|
|
<value-type>DbModel</value-type>
|
|
</parameter-spec>
|
|
</property>
|
|
<!-- This is used to avoid weird error about this unexisting property -->
|
|
<property id="accelerator" disabled="True"/>
|
|
</properties>
|
|
<create-editor-property-function>glade_db_model_holder_create_eprop</create-editor-property-function>
|
|
</glade-widget-class>
|
|
|
|
<glade-widget-class name="VnCompletion" generic-name="completion" title="Completion Field" icon-name="widget-gtk-entry">
|
|
<properties>
|
|
<property id="model" ignore="True">
|
|
<parameter-spec>
|
|
<type>GParamObject</type>
|
|
<value-type>DbModel</value-type>
|
|
</parameter-spec>
|
|
</property>
|
|
<property id="field" ignore="True"/>
|
|
<!-- This is used to avoid weird error about this unexisting property -->
|
|
<property id="accelerator" disabled="True"/>
|
|
</properties>
|
|
<create-editor-property-function>glade_db_model_holder_create_eprop</create-editor-property-function>
|
|
</glade-widget-class>
|
|
|
|
<glade-widget-class name="VnHttpImage" generic-name="http-image" title="Image retrieved by HTTP" icon-name="widget-gtk-image">
|
|
<properties>
|
|
<property id="path" ignore="True"/>
|
|
<property id="loader" ignore="True"/>
|
|
</properties>
|
|
</glade-widget-class>
|
|
|
|
<glade-widget-class name="VnEntry" generic-name="entry" title="Text Field" icon-name="widget-gtk-entry"/>
|
|
<glade-widget-class name="VnCheck" generic-name="check" title="Boolean Field" icon-name="widget-gtk-checkbutton"/>
|
|
<glade-widget-class name="VnSpin" generic-name="spin" title="Numeric Field" icon-name="widget-gtk-spinbutton"/>
|
|
<glade-widget-class name="VnImage" generic-name="image" title="Image Field" icon-name="widget-gtk-image"/>
|
|
<glade-widget-class name="VnCalendar" generic-name="calendar" title="Date Field" icon-name="widget-gtk-calendar"/>
|
|
<glade-widget-class name="VnDateChooser" generic-name="date-chooser" title="Date Chooser" icon-name="widget-gtk-calendar"/>
|
|
|
|
<glade-widget-class name="VnBatch" generic-name="batch" toplevel="True" title="Group of objects" icon-name="widget-gtk-vbuttonbox">
|
|
<add-child-verify-function>glade_vn_batch_add_verify</add-child-verify-function>
|
|
<add-child-function>glade_vn_batch_add_child</add-child-function>
|
|
<remove-child-function>glade_vn_batch_remove_child</remove-child-function>
|
|
<get-children-function>glade_vn_batch_get_children</get-children-function>
|
|
<replace-child-function>glade_vn_batch_replace_child</replace-child-function>
|
|
</glade-widget-class>
|
|
|
|
</glade-widget-classes>
|
|
|
|
<glade-widget-group name="db-toplevels" title="Data Handling">
|
|
<glade-widget-class-ref name="GvnParam"/>
|
|
<glade-widget-class-ref name="DbModel"/>
|
|
<glade-widget-class-ref name="DbIterator"/>
|
|
<glade-widget-class-ref name="DbParam"/>
|
|
<glade-widget-class-ref name="DbFileLoader"/>
|
|
</glade-widget-group>
|
|
|
|
<glade-widget-group name="vn-toplevels" title="Grid and Columns" weight="1000">
|
|
<glade-widget-class-ref name="VnGrid"/>
|
|
<glade-widget-class-ref name="VnColumnCheck"/>
|
|
<glade-widget-class-ref name="VnColumnCombo"/>
|
|
<glade-widget-class-ref name="VnColumnEntry"/>
|
|
<glade-widget-class-ref name="VnColumnImage"/>
|
|
<glade-widget-class-ref name="VnColumnSpin"/>
|
|
</glade-widget-group>
|
|
|
|
<glade-widget-group name="vn-toplevels" title="Data Widgets" weight="0">
|
|
<glade-widget-class-ref name="VnBatch"/>
|
|
<glade-widget-class-ref name="VnHandler"/>
|
|
<glade-widget-class-ref name="VnEntry"/>
|
|
<glade-widget-class-ref name="VnCheck"/>
|
|
<glade-widget-class-ref name="VnCombo"/>
|
|
<glade-widget-class-ref name="VnSpin"/>
|
|
<glade-widget-class-ref name="VnImage"/>
|
|
<glade-widget-class-ref name="VnHttpImage"/>
|
|
<glade-widget-class-ref name="VnCompletion"/>
|
|
<glade-widget-class-ref name="VnCalendar"/>
|
|
<glade-widget-class-ref name="VnDateChooser"/>
|
|
</glade-widget-group>
|
|
|
|
</glade-catalog>
|