243 lines
11 KiB
XML
243 lines
11 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<glade-catalog name="vn" version="1.0" library="gladevn" domain="glade3" depends="gtk+" book="hedera">
|
|
|
|
<init-function>glade_vn_init</init-function>
|
|
|
|
<glade-widget-classes>
|
|
<glade-widget-class name="GvnParam" generic-name="param" 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="DbCalc" generic-name="calc" title="Calculated field" icon-name="widget-gtk-entry">
|
|
<properties>
|
|
<property id="model" ignore="True"/>
|
|
<property id="type" ignore="True"/>
|
|
<property id="col" ignore="True"/>
|
|
</properties>
|
|
</glade-widget-class>
|
|
|
|
<glade-widget-class name="VnModel" 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 id="use-file" save="False" ignore="True" weight="1.2"/>
|
|
<property id="sql" save="False" ignore="True" weight="1.3"/>
|
|
<property id="links" save="False" ignore="True" disabled="True" name="Links">
|
|
<parameter-spec>
|
|
<type>GParamBoxed</type>
|
|
<value-type>GladeDbList</value-type>
|
|
</parameter-spec>
|
|
</property>
|
|
<property id="batch" save="False" ignore="True" disabled="True" name="Batch">
|
|
<parameter-spec>
|
|
<type>GParamBoxed</type>
|
|
<value-type>GladeDbList</value-type>
|
|
</parameter-spec>
|
|
</property>
|
|
</properties>
|
|
<create-editor-property-function>glade_db_model_create_eprop</create-editor-property-function>
|
|
<create-editable-function>glade_db_model_create_editable</create-editable-function>
|
|
<write-widget-function>glade_db_model_write_widget</write-widget-function>
|
|
<read-widget-function>glade_db_model_read_widget</read-widget-function>
|
|
<action-activate-function>glade_db_model_action_activate</action-activate-function>
|
|
<actions>
|
|
<action important="True" id="launch_editor" name="Edit…" stock="gtk-edit"/>
|
|
</actions>
|
|
</glade-widget-class>
|
|
|
|
<glade-widget-class name="VnIterator" 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>
|
|
<tooltip translatable="yes">The model held by the object</tooltip>
|
|
</property>
|
|
</properties>
|
|
<create-editor-property-function>glade_db_model_holder_create_eprop</create-editor-property-function>
|
|
<add-child-function>glade_db_iterator_add_child</add-child-function>
|
|
<remove-child-function>glade_db_iterator_remove_child</remove-child-function>
|
|
<replace-child-function>glade_db_iterator_replace_child</replace-child-function>
|
|
<get-children-function>glade_db_iterator_get_children</get-children-function>
|
|
<add-child-verify-function>glade_db_iterator_add_verify</add-child-verify-function>
|
|
<read-widget-function>glade_db_iterator_read_widget</read-widget-function>
|
|
<action-activate-function>glade_db_iterator_action_activate</action-activate-function>
|
|
<actions>
|
|
<action important="True" id="launch-editor" name="Edit…" stock="gtk-edit"/>
|
|
<action important="True" id="generate-params" name="Generate params" icon-name="system-run"/>
|
|
</actions>
|
|
</glade-widget-class>
|
|
|
|
<glade-widget-class name="DbParam" generic-name="param" title="Iterator Parameter" icon-name="widget-gtk-texttag">
|
|
<properties>
|
|
<property id="iterator" disabled="True"/>
|
|
<property id="column-name" ignore="True"/>
|
|
<property id="column-index" ignore="True"/>
|
|
</properties>
|
|
<read-widget-function>glade_db_param_read_widget</read-widget-function>
|
|
</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 name="VnColumn" title="Column">
|
|
<internal-children>
|
|
<object name="cell"/>
|
|
</internal-children>
|
|
<get-internal-child-function>glade_vn_column_get_internal_child</get-internal-child-function>
|
|
</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"/>
|
|
<property id="climb-rate" ignore="True"/>
|
|
<property id="lower" ignore="True"/>
|
|
<property id="upper" ignore="True" default="100.0"/>
|
|
<property id="step-increment" ignore="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>
|
|
<tooltip translatable="yes">The model held by the object</tooltip>
|
|
</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="VnField" title="Field">
|
|
<internal-children>
|
|
<object name="widget"/>
|
|
</internal-children>
|
|
<get-internal-child-function>glade_vn_field_get_internal_child</get-internal-child-function>
|
|
</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>
|
|
<tooltip translatable="yes">The model held by the object</tooltip>
|
|
</property>
|
|
<!-- This is used to avoid weird error about this unexisting property -->
|
|
<property id="accelerator" disabled="True"/>
|
|
<property id="glade-style-classes" 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>
|
|
<tooltip translatable="yes">The model held by the object</tooltip>
|
|
</property>
|
|
<property id="field" ignore="True"/>
|
|
<!-- This is used to avoid a weird error about this unexisting properties -->
|
|
<property id="accelerator" disabled="True"/>
|
|
<property id="glade-style-classes" 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="VnLabel" generic-name="label" title="Fixed text field" icon-name="widget-gtk-label"/>
|
|
<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-function>glade_vn_batch_add_child</add-child-function>
|
|
<remove-child-function>glade_vn_batch_remove_child</remove-child-function>
|
|
<replace-child-function>glade_vn_batch_replace_child</replace-child-function>
|
|
<get-children-function>glade_vn_batch_get_children</get-children-function>
|
|
<add-child-verify-function>glade_vn_batch_add_verify</add-child-verify-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="VnModel"/>
|
|
<glade-widget-class-ref name="VnIterator"/>
|
|
<glade-widget-class-ref name="DbParam"/>
|
|
<glade-widget-class-ref name="DbCalc"/>
|
|
<glade-widget-class-ref name="DbFileLoader"/>
|
|
</glade-widget-group>
|
|
|
|
<glade-widget-group name="vn-grid" title="Grid and Columns">
|
|
<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">
|
|
<glade-widget-class-ref name="VnBatch"/>
|
|
<glade-widget-class-ref name="VnHandler"/>
|
|
<glade-widget-class-ref name="VnEntry"/>
|
|
<glade-widget-class-ref name="VnLabel"/>
|
|
<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>
|