summaryrefslogtreecommitdiff
path: root/plugins/gnome/gnome.xml.in
blob: 267c122ff5659c928ae31dc639e210c3a37de829 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
<glade-catalog name="gnome"
               library="gladegnome"
               depends="gtk+"
               domain="glade3"
               book="libgnomeui">
  <init-function>glade_gnomeui_init</init-function>
  <glade-widget-classes>
    <glade-widget-class name="GnomeApp" generic-name="app" _title="GNOME App" default-width="440" default-height="250">
      <post-create-function>glade_gnome_app_post_create</post-create-function>
      <get-internal-child-function>glade_gnome_app_get_internal_child</get-internal-child-function>
      <get-children-function>glade_gnome_app_get_children</get-children-function>
      <child-set-property-function>glade_gnome_app_set_child_property</child-set-property-function>
      <child-get-property-function>glade_gnome_app_get_child_property</child-get-property-function>
      <set-property-function>glade_gnome_app_set_property</set-property-function>

      <properties>
         <property id="has-statusbar" _name="StatusBar" save="False">
	   <tooltip>If the window has a statusbar</tooltip>
	   <spec>glade_standard_boolean_spec</spec>
	 </property>
         <property id="enable-layout-config" _name="Store Config">
	   <tooltip>If the layout is saved and restored automatically</tooltip>
	   <spec>glade_standard_boolean_spec</spec>
	 </property>
      </properties>
      <packing-properties>
        <property id="position" _name="Position">
          <spec>glade_standard_int_spec</spec>
	</property>
        <property id="padding" _name="Padding">
	  <spec>glade_standard_int_spec</spec>
	</property>
        <property id="expand" _name="Expand">
	  <spec>glade_standard_boolean_spec</spec>
	</property>
        <property id="fill" _name="Fill">
	  <spec>glade_standard_boolean_spec</spec>
	</property>
        <property id="pack-type">
	  <spec>glade_gnome_gtk_pack_type_spec</spec>
          <displayable-values>
            <value id="GTK_PACK_START" _name="Start"/>
            <value id="GTK_PACK_END" _name="End"/>
          </displayable-values>
	</property>
      </packing-properties>
    </glade-widget-class>

    <glade-widget-class name="GnomeDruid" generic-name="druid" _title="GNOME Druid">
      <post-create-function>glade_gnome_druid_post_create</post-create-function>
      <add-child-function>glade_gnome_druid_add_child</add-child-function>
      <remove-child-function>glade_gnome_druid_remove_child</remove-child-function>
      <child-set-property-function>glade_gnome_druid_set_child_property</child-set-property-function>
      <child-get-property-function>glade_gnome_druid_get_child_property</child-get-property-function>

      <packing-properties>
        <property id="position" _name="Position" default="-1" save="False">
	  <spec>glade_standard_int_spec</spec>
	</property>
      </packing-properties>
    </glade-widget-class>

    <glade-widget-class name="GnomeDruidPageEdge" generic-name="druidpageedge" _title="GNOME Druid Page Edge">
      <set-property-function>glade_gnome_dpe_set_property</set-property-function>
      <properties>
	<property id="position" _name="Position">
	  <spec>glade_gnome_dpe_position_spec</spec>
	  <_tooltip>Used to pass around information about the position of a GnomeDruidPage within the overall GnomeDruid. This enables the correct "surrounding" content for the page to be drawn</_tooltip>
          <displayable-values>
            <value id="GNOME_EDGE_START" _name="Start"/>
            <value id="GNOME_EDGE_FINISH" _name="End"/>
            <value id="GNOME_EDGE_OTHER" _name="Other"/>
          </displayable-values>
	</property>
	<property id="title" _name="Title" translatable="True">
	  <spec>glade_standard_string_spec</spec>
          <visible-lines>2</visible-lines>
	</property>
	<property id="text" _name="Text" translatable="True">
	  <spec>glade_standard_string_spec</spec>
          <visible-lines>4</visible-lines>
	</property>
	<property id="title-foreground" _name="Title Foreground Color" default="#FFFFFF">
	  <spec>glade_standard_gdkcolor_spec</spec>
	</property>
	<property id="text-foreground" _name="Text Foreground Color" default="#000000">
	  <spec>glade_standard_gdkcolor_spec</spec>
	</property>
	<property id="background" _name="Background Color" default="#4B6983">
	  <spec>glade_standard_gdkcolor_spec</spec>
	</property>
	<property id="contents-background" _name="Contents Background Color" default="#DCDAD5">
	  <spec>glade_standard_gdkcolor_spec</spec>
	</property>	
	<property id="logo-background" _name="Logo Background Color" default="#4B6983">
	  <spec>glade_standard_gdkcolor_spec</spec>
	</property>
	<property id="logo" _name="Logo">
	  <spec>glade_standard_pixbuf_spec</spec>
	</property>
	<property id="watermark" _name="Watermark">
	  <spec>glade_standard_pixbuf_spec</spec>
	</property>
	<property id="top-watermark" _name="Top Watermark">
	  <spec>glade_standard_pixbuf_spec</spec>
	</property>
      </properties>
    </glade-widget-class>
    
    <glade-widget-class name="GnomeDruidPageStandard" generic-name="druidpagestandard" _title="GNOME Druid Page Standard">
      <post-create-function>glade_gnome_dps_post_create</post-create-function>
      <get-internal-child-function>glade_gnome_dps_get_internal_child</get-internal-child-function>
      <get-children-function>glade_gnome_dps_get_children</get-children-function>
      <set-property-function>glade_gnome_dps_set_property</set-property-function>

      <properties>
	<property id="title" translatable="True">
          <visible-lines>2</visible-lines>
	</property>

        <property id="background-set" disabled="True"/>
	<property id="background" visible="False" save="False" default="#4B6983"/>
	<property id="contents-background-set" disabled="True"/>
	<property id="contents-background" visible="False" save="False" default="#DCDAD5"/>
	<property id="logo-background-set" disabled="True"/>
	<property id="logo-background" visible="False" save="False" default="#4B6983"/>
	<property id="title-foreground-set" disabled="True"/>
	<property id="title-foreground" visible="False" save="False" default="#FFFFFF"/>
      </properties>
    </glade-widget-class>


    <glade-widget-class name="GnomeIconSelection" generic-name="iconselection" _title="GNOME Icon Selection">
      <properties>
        <property id="size" visible="False" query="False" ignore="True"/>
      </properties>
    </glade-widget-class>
    <glade-widget-class name="GnomeIconEntry" generic-name="iconentry" _title="GNOME Icon Entry">
      <set-property-function>glade_gnome_icon_entry_set_property</set-property-function>
      <properties>
        <property id="max-saved" _name="Max Saved">
	  <spec>glade_standard_uint_spec</spec>
	  <tooltip>The maximum number of history entries saved.</tooltip>
	</property>
        <property id="size" visible="False" query="False" ignore="True"/>
      </properties>
    </glade-widget-class>

    <glade-widget-class name="GnomeHRef" generic-name="href" _title="GNOME HRef"/>

    <glade-widget-class name="GnomeDateEdit" generic-name="dateedit" _title="GNOME Date Edit">
      <post-create-function>glade_gnome_date_edit_post_create</post-create-function>
      <properties>
        <property id="time" disabled="True"/>
        <property id="size" visible="False" query="False" ignore="True"/>
        <property id="dateedit-flags">
          <displayable-values>
            <value id="GNOME_DATE_EDIT_SHOW_TIME" _name="Show Time"/>
            <value id="GNOME_DATE_EDIT_24_HR" _name="24-Hour Format"/>
	    <value id="GNOME_DATE_EDIT_WEEK_STARTS_ON_MONDAY" _name="Monday First"/>
          </displayable-values>
	</property>
      </properties>
    </glade-widget-class>

    <glade-widget-class name="GnomeAppBar" generic-name="appbar" _title="GNOME App Bar">
      <post-create-function>glade_gnome_app_bar_post_create</post-create-function>
      <properties>
        <property id="has-progress" default="True" ignore="True"/>
	<property id="has-status" default="True" ignore="True"/>
        <property id="size" visible="False" query="False" ignore="True"/>
	<property id="interactivity">
          <displayable-values>
            <value id="GNOME_PREFERENCES_NEVER" _name="Never"/>
            <value id="GNOME_PREFERENCES_USER" _name="User"/>
	    <value id="GNOME_PREFERENCES_ALWAYS" _name="Always"/>
          </displayable-values>
	</property>
      </properties>
    </glade-widget-class>
    
    <!-- Deprecated Widget Classes :) -->
    <glade-widget-class name="GnomeDialog" generic-name="dialog" _title="GNOME Dialog">
      <post-create-function>glade_gnome_dialog_post_create</post-create-function>
      <get-internal-child-function>glade_gnome_dialog_get_internal_child</get-internal-child-function>
      <get-children-function>glade_gnome_dialog_get_children</get-children-function>
    </glade-widget-class>

    <glade-widget-class name="GnomeAbout" generic-name="about" _title="GNOME About">
      <post-create-function>glade_gnome_about_dialog_post_create</post-create-function> 
      <set-property-function>glade_gnome_about_dialog_set_property</set-property-function>
      <properties>
        <property id="name" _name="Program Name"/>
        <property id="version" _name="Program Version"/>
        <property id="comments" translatable="True">
          <visible-lines>4</visible-lines>
        </property>
        <property id="copyright" translatable="True">
          <visible-lines>4</visible-lines>
        </property>
        <property id="translator-credits" translatable="True">
          <visible-lines>4</visible-lines>
        </property>
      </properties>
    </glade-widget-class>
    
    <glade-widget-class name="GnomeMessageBox" generic-name="messagebox" _title="GNOME Message Box">
      <set-property-function>glade_gnome_message_box_set_property</set-property-function>
      <properties>
        <property id="message-box-type">
	  <spec>glade_gnome_message_box_type_spec</spec>
          <displayable-values>
            <value id="GNOME_MESSAGE_BOX_INFO" _name="Information"/>
	    <value id="GNOME_MESSAGE_BOX_WARNING" _name="Warning"/>
	    <value id="GNOME_MESSAGE_BOX_ERROR" _name="Error"/>
	    <value id="GNOME_MESSAGE_BOX_QUESTION" _name="Question"/>
	    <value id="GNOME_MESSAGE_BOX_GENERIC" _name="Generic"/>
          </displayable-values>
	</property>
        <property id="message" _name="Message">
	  <spec>glade_standard_string_spec</spec>
	  <tooltip>The message to display</tooltip>
	</property>
      </properties>
    </glade-widget-class>
    <glade-widget-class name="GnomePropertyBox" generic-name="propertybox" _title="GNOME Property Box"/>

    <glade-widget-class name="GnomeEntry" generic-name="entry" title="GNOME Entry">
      <post-create-function>glade_gnome_entry_post_create</post-create-function>
      <get-internal-child-function>glade_gnome_entry_get_internal_child</get-internal-child-function>
      <get-children-function>glade_gnome_entry_get_children</get-children-function>
      <set-property-function>glade_gnome_entry_set_property</set-property-function>
      <properties>
        <property id="gtk-entry" disabled="True"/>
	<property id="max-saved" _name="Max Saved">
	  <spec>glade_standard_int_spec</spec>
	  <_tooltip>The maximum number of history entries saved</_tooltip>
	</property>
        <property id="size" visible="False" query="False" ignore="True"/>
      </properties>

      <packing-properties>
        <property id="expand" disabled="True"/>
        <property id="fill" disabled="True"/>
        <property id="pack-type" disabled="True"/>
        <property id="padding" disabled="True"/>
        <property id="position" disabled="True"/>
      </packing-properties>
    </glade-widget-class>
    
    <glade-widget-class name="GnomeFileEntry" generic-name="fileentry" _title="GNOME File Entry">
      <post-create-function>glade_gnome_entry_post_create</post-create-function>
      <get-internal-child-function>glade_gnome_entry_get_internal_child</get-internal-child-function>
      <get-children-function>glade_gnome_entry_get_children</get-children-function>
      <set-property-function>glade_gnome_file_entry_set_property</set-property-function>
      <properties>
	<property id="max-saved" _name="Max Saved">
	  <spec>glade_standard_int_spec</spec>
	  <_tooltip>The maximum number of history entries saved</_tooltip>
	</property>
        <property id="size" visible="False" query="False" ignore="True"/>
	<property id="filechooser-action">
	  <displayable-values>
	    <value id="GTK_FILE_CHOOSER_ACTION_OPEN" _name="Open"/>
	    <value id="GTK_FILE_CHOOSER_ACTION_SAVE" _name="Save"/>
	    <value id="GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER" _name="Select Folder"/>
	    <value id="GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER" _name="Create Folder"/>
	  </displayable-values>
	</property>
      </properties>
      <packing-properties>
        <property id="expand" disabled="True"/>
        <property id="fill" disabled="True"/>
        <property id="pack-type" disabled="True"/>
        <property id="padding" disabled="True"/>
        <property id="position" disabled="True"/>
      </packing-properties>
    </glade-widget-class>

    <glade-widget-class name="GnomePixmapEntry" generic-name="pixmapentry" _title="GNOME Pixmap Entry">
      <packing-properties>
        <property id="expand" disabled="True"/>
        <property id="fill" disabled="True"/>
        <property id="pack-type" disabled="True"/>
        <property id="padding" disabled="True"/>
        <property id="position" disabled="True"/>
      </packing-properties>
    </glade-widget-class>
    
    <glade-widget-class name="GnomeColorPicker" generic-name="colorpicker" _title="GNOME Color Picker">
      <post-create-function>empty</post-create-function>
        <properties>
	  <property id="use-underline" disabled="True"/>
	  <property id="label" disabled="True"/>
	  <property id="glade-type" disabled="True"/>
          <property id="stock" disabled="True"/>
	  <property id="red" disabled="True"/>
	  <property id="green" disabled="True"/>
	  <property id="blue" disabled="True"/>
	  <property id="alpha" disabled="True"/>
	  <property id="dither" _name="Dither"/>
	  <property id="use-alpha" _name="Use Alpha"/>
	  <property id="title" _name="Title"/>
        </properties>
    </glade-widget-class>

    <glade-widget-class name="GnomeFontPicker" generic-name="fontpicker" _title="GNOME Font Picker">
      <post-create-function>empty</post-create-function>
      <get-children-function>glade_gnome_font_picker_get_children</get-children-function>
      <add-child-function>glade_gnome_font_picker_add_child</add-child-function>
      <remove-child-function>glade_gnome_font_picker_remove_child</remove-child-function>
      <replace-child-function>glade_gnome_font_picker_replace_child</replace-child-function>
      <set-property-function>glade_gnome_font_picker_set_property</set-property-function>

      <properties>
        <property id="use-underline" disabled="True"/>
        <property id="label" disabled="True"/>
        <property id="glade-type" disabled="True"/>
	<property id="stock" disabled="True"/>
        <property id="font-name" disabled="True"/>
        <property id="mode">
	  <displayable-values>
	    <value id="GNOME_FONT_PICKER_MODE_PIXMAP" _name="Pixmap"/>
	    <value id="GNOME_FONT_PICKER_MODE_FONT_INFO" _name="Font Information"/>
	    <value id="GNOME_FONT_PICKER_MODE_USER_WIDGET" _name="User Widget"/>
	    <value id="GNOME_FONT_PICKER_MODE_UNKNOWN" _name="Unknown"/>
	  </displayable-values>
        </property>
      </properties>
    </glade-widget-class>

    <glade-widget-class name="GnomePixmap" generic-name="pixmap" _title="GNOME Pixmap">
      <post-create-function>empty</post-create-function>
      <set-property-function>glade_gnome_pixmap_set_property</set-property-function>
      <properties>
        <property id="stock" disabled="True"/>
        <property id="icon-name" disabled="True"/>
        <property id="glade-stock" disabled="True"/>
        <property id="glade-type" disabled="True"/>
        <property id="pixbuf" disabled="True"/>
        <property id="icon-size" disabled="True"/>
        <property id="pixel-size" disabled="True"/>
	<property id="filename" _name="File">
	  <spec>glade_standard_pixbuf_spec</spec>
	  <_tooltip>The pixmap file</_tooltip>
	</property>
	<property id="scaled-width" _name="Scaled Width">
	  <spec>glade_standard_int_spec</spec>
	  <_tooltip>The width to scale the pixmap to</_tooltip>
	</property>
	<property id="scaled-height" _name="Scaled Height">
	  <spec>glade_standard_int_spec</spec>
	  <_tooltip>The height to scale the pixmap to</_tooltip>
	</property>
      </properties>
    </glade-widget-class>

    <!-- Unsupported Classes
    Deprecated and not suported by libglade:
      * GnomeScores
    
    These are not widget classes:
      * GnomeClient
      * GnomeMdi, GnomeMdiChild, GnomeMdiGenericChild
      * GnomeCanvasItem, GnomeIconTextItem -->
  </glade-widget-classes>

  <glade-widget-group name="gnomeui-base" _title="GNOME User Interface">

    <glade-widget-class-ref name="GnomeApp"/>
    <glade-widget-class-ref name="GnomeDruid"/>
    <glade-widget-class-ref name="GnomeIconSelection"/>    
    <glade-widget-class-ref name="GnomeHRef"/>
    <glade-widget-class-ref name="GnomeDateEdit"/>
    <glade-widget-class-ref name="GnomeIconEntry"/>
    <glade-widget-class-ref name="GnomeAppBar"/>
  </glade-widget-group>

  <glade-widget-group name="gnomeui-obsolete" _title="GNOME UI Obsolete">

    <default-palette-state expanded="False" />

    <glade-widget-class-ref name="GnomeDialog"/>
    <glade-widget-class-ref name="GnomeAbout"/>
    <glade-widget-class-ref name="GnomeMessageBox"/>
    <glade-widget-class-ref name="GnomePropertyBox"/>
    <glade-widget-class-ref name="GnomeEntry"/>
    <glade-widget-class-ref name="GnomeFileEntry"/>
    <glade-widget-class-ref name="GnomePixmapEntry"/>
    <glade-widget-class-ref name="GnomeColorPicker"/>
    <glade-widget-class-ref name="GnomeFontPicker"/>
    <glade-widget-class-ref name="GnomePixmap"/>
  </glade-widget-group>
</glade-catalog>