2013-10-11 23:07:35 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
2013-10-29 10:10:31 +00:00
|
|
|
<glade-catalog name="vn" version="1.0" library="gladevn" domain="glade3" depends="gtk+" book="hedera">
|
2013-10-11 23:07:35 +00:00
|
|
|
|
|
|
|
<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"/>
|
2013-10-14 12:08:06 +00:00
|
|
|
<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"/>
|
2013-10-11 23:07:35 +00:00
|
|
|
</properties>
|
2013-10-14 12:08:06 +00:00
|
|
|
<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>
|
2013-10-11 23:07:35 +00:00
|
|
|
</glade-widget-class>
|
2013-10-14 12:08:06 +00:00
|
|
|
|
2013-10-11 23:07:35 +00:00
|
|
|
<glade-widget-class name="DbIterator" generic-name="iterator" title="Iterator" icon-name="widget-gtk-texttagtable">
|
|
|
|
<properties>
|
2013-10-14 12:08:06 +00:00
|
|
|
<property id="model" ignore="True">
|
|
|
|
<parameter-spec>
|
|
|
|
<type>GParamObject</type>
|
|
|
|
<value-type>DbModel</value-type>
|
|
|
|
</parameter-spec>
|
|
|
|
</property>
|
2013-10-11 23:07:35 +00:00
|
|
|
</properties>
|
2013-10-14 12:08:06 +00:00
|
|
|
<create-editor-property-function>glade_db_model_holder_create_eprop</create-editor-property-function>
|
2013-10-11 23:07:35 +00:00
|
|
|
</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>
|
|
|
|
|
2013-10-14 12:08:06 +00:00
|
|
|
<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"/>
|
2013-10-11 23:07:35 +00:00
|
|
|
|
2013-10-14 12:08:06 +00:00
|
|
|
<glade-widget-class name="VnColumnSpin" generic-name="column-Spin" title="Column Spin" icon-name="widget-gtk-cellrendererspin">
|
2013-10-11 23:07:35 +00:00
|
|
|
<properties>
|
|
|
|
<property id="digits" ignore="True" disabled="True"/>
|
|
|
|
<property id="climb-rate" ignore="True" disabled="True"/>
|
|
|
|
</properties>
|
|
|
|
</glade-widget-class>
|
|
|
|
|
2013-10-14 12:08:06 +00:00
|
|
|
<glade-widget-class name="VnColumnCombo" generic-name="column-combo" title="Column Combo" icon-name="widget-gtk-cellrenderercombo">
|
2013-10-11 23:07:35 +00:00
|
|
|
<properties>
|
2013-10-23 08:58:06 +00:00
|
|
|
<property id="show-column" weight="1.2"/>
|
|
|
|
<property id="sort-column" weight="1.3"/>
|
2013-10-14 12:08:06 +00:00
|
|
|
<property id="model" ignore="True">
|
|
|
|
<parameter-spec>
|
|
|
|
<type>GParamObject</type>
|
|
|
|
<value-type>DbModel</value-type>
|
|
|
|
</parameter-spec>
|
|
|
|
</property>
|
2013-10-11 23:07:35 +00:00
|
|
|
</properties>
|
2013-10-14 12:08:06 +00:00
|
|
|
<create-editor-property-function>glade_db_model_holder_create_eprop</create-editor-property-function>
|
2013-10-11 23:07:35 +00:00
|
|
|
</glade-widget-class>
|
|
|
|
|
2013-10-14 12:08:06 +00:00
|
|
|
<glade-widget-class name="VnColumnImage" generic-name="column-image" title="Column Image" icon-name="widget-gtk-cellrendererpixbuf">
|
2013-10-11 23:07:35 +00:00
|
|
|
<properties>
|
2013-10-14 12:08:06 +00:00
|
|
|
<property id="host" ignore="True"/>
|
|
|
|
<property id="path" ignore="True"/>
|
2013-10-11 23:07:35 +00:00
|
|
|
</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>
|
2013-10-14 12:08:06 +00:00
|
|
|
<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"/>
|
2013-10-11 23:07:35 +00:00
|
|
|
</properties>
|
2013-10-14 12:08:06 +00:00
|
|
|
<create-editor-property-function>glade_db_model_holder_create_eprop</create-editor-property-function>
|
2013-10-11 23:07:35 +00:00
|
|
|
</glade-widget-class>
|
|
|
|
|
|
|
|
<glade-widget-class name="VnCompletion" generic-name="completion" title="Completion Field" icon-name="widget-gtk-entry">
|
|
|
|
<properties>
|
2013-10-14 12:08:06 +00:00
|
|
|
<property id="model" ignore="True">
|
|
|
|
<parameter-spec>
|
|
|
|
<type>GParamObject</type>
|
|
|
|
<value-type>DbModel</value-type>
|
|
|
|
</parameter-spec>
|
|
|
|
</property>
|
2013-10-11 23:07:35 +00:00
|
|
|
<property id="field" ignore="True"/>
|
2013-10-14 12:08:06 +00:00
|
|
|
<!-- This is used to avoid weird error about this unexisting property -->
|
|
|
|
<property id="accelerator" disabled="True"/>
|
2013-10-11 23:07:35 +00:00
|
|
|
</properties>
|
2013-10-14 12:08:06 +00:00
|
|
|
<create-editor-property-function>glade_db_model_holder_create_eprop</create-editor-property-function>
|
2013-10-11 23:07:35 +00:00
|
|
|
</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"/>
|
2013-10-14 12:08:06 +00:00
|
|
|
|
2013-10-11 23:07:35 +00:00
|
|
|
<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>
|
|
|
|
|
2013-10-14 12:08:06 +00:00
|
|
|
<glade-widget-group name="vn-toplevels" title="Grid and Columns" weight="1000">
|
2013-10-11 23:07:35 +00:00
|
|
|
<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>
|
|
|
|
|
2013-10-14 12:08:06 +00:00
|
|
|
<glade-widget-group name="vn-toplevels" title="Data Widgets" weight="0">
|
|
|
|
<glade-widget-class-ref name="VnBatch"/>
|
2013-10-11 23:07:35 +00:00
|
|
|
<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>
|