3 # Test of Glade support.
6 trap 'rm -fr $tmpfiles' 1 2 3 15
8 tmpfiles="$tmpfiles empty.glade"
9 cat <<EOF > empty.glade
14 tmpfiles="$tmpfiles xg-gl-1.pot"
15 : ${XGETTEXT=xgettext}
16 ${XGETTEXT} -o xg-gl-1.pot empty.glade 2>/dev/null
18 echo "Skipping test: xgettext was built without Glade support"
19 rm -fr $tmpfiles; exit 77
22 tmpfiles="$tmpfiles widgets.glade"
23 cat <<EOF > widgets.glade
29 <directory></directory>
30 <source_directory>src</source_directory>
31 <pixmaps_directory></pixmaps_directory>
32 <language>C</language>
33 <gnome_support>True</gnome_support>
34 <gettext_support>True</gettext_support>
35 <use_widget_names>False</use_widget_names>
36 <output_main_file>True</output_main_file>
37 <output_support_files>True</output_support_files>
38 <output_build_files>True</output_build_files>
39 <backup_source_files>True</backup_source_files>
40 <main_source_file>interface.c</main_source_file>
41 <main_header_file>interface.h</main_header_file>
42 <handler_source_file>callbacks.c</handler_source_file>
43 <handler_header_file>callbacks.h</handler_header_file>
44 <support_source_file>support.c</support_source_file>
45 <support_header_file>support.h</support_header_file>
49 <class>GnomeApp</class>
53 <handler>gtk_main_quit</handler>
54 <last_modification_time>Thu, 17 Jun 1999 15:06:07 GMT</last_modification_time>
56 <title>Libglade-GNOME Test</title>
57 <type>GTK_WINDOW_TOPLEVEL</type>
58 <position>GTK_WIN_POS_NONE</position>
60 <allow_shrink>False</allow_shrink>
61 <allow_grow>True</allow_grow>
62 <auto_shrink>False</auto_shrink>
63 <enable_layout_config>True</enable_layout_config>
66 <class>GnomeDock</class>
67 <child_name>GnomeApp:dock</child_name>
69 <allow_floating>True</allow_floating>
77 <class>GnomeDockItem</class>
78 <name>dockitem1</name>
79 <border_width>2</border_width>
80 <placement>GNOME_DOCK_TOP</placement>
82 <position>0</position>
84 <locked>False</locked>
85 <exclusive>False</exclusive>
86 <never_floating>False</never_floating>
87 <never_vertical>True</never_vertical>
88 <never_horizontal>False</never_horizontal>
89 <shadow_type>GTK_SHADOW_OUT</shadow_type>
92 <class>GtkMenuBar</class>
94 <shadow_type>GTK_SHADOW_NONE</shadow_type>
97 <class>GtkMenuItem</class>
99 <stock_item>GNOMEUIINFO_MENU_FILE_TREE</stock_item>
102 <class>GtkMenu</class>
103 <name>file1_menu</name>
106 <class>GtkPixmapMenuItem</class>
109 <name>activate</name>
110 <handler>gtk_widget_show</handler>
111 <object>filesel</object>
112 <last_modification_time>Thu, 17 Jun 1999 15:03:18 GMT</last_modification_time>
114 <stock_item>GNOMEUIINFO_MENU_OPEN_ITEM</stock_item>
118 <class>GtkMenuItem</class>
119 <name>show_tests1</name>
121 <name>activate</name>
122 <handler>gtk_widget_show</handler>
123 <object>testwin</object>
124 <last_modification_time>Thu, 17 Jun 1999 14:52:01 GMT</last_modification_time>
126 <label>Show _Tests</label>
127 <right_justify>False</right_justify>
131 <class>GtkMenuItem</class>
132 <name>druid_test1</name>
134 <name>activate</name>
135 <handler>gtk_widget_show</handler>
136 <object>druidwin</object>
137 <last_modification_time>Thu, 28 Oct 1999 15:53:37 GMT</last_modification_time>
139 <label>Druid Test</label>
140 <right_justify>False</right_justify>
144 <class>GtkMenuItem</class>
145 <name>separator2</name>
146 <right_justify>False</right_justify>
150 <class>GtkPixmapMenuItem</class>
153 <name>activate</name>
154 <handler>gtk_widget_show</handler>
155 <object>closebox</object>
156 <last_modification_time>Thu, 17 Jun 1999 07:44:23 GMT</last_modification_time>
158 <stock_item>GNOMEUIINFO_MENU_EXIT_ITEM</stock_item>
164 <class>GtkMenuItem</class>
166 <stock_item>GNOMEUIINFO_MENU_EDIT_TREE</stock_item>
169 <class>GtkMenu</class>
170 <name>edit1_menu</name>
173 <class>GtkPixmapMenuItem</class>
175 <stock_item>GNOMEUIINFO_MENU_UNDO_ITEM</stock_item>
179 <class>GtkPixmapMenuItem</class>
181 <stock_item>GNOMEUIINFO_MENU_REDO_ITEM</stock_item>
185 <class>GtkMenuItem</class>
186 <name>separator3</name>
187 <right_justify>False</right_justify>
191 <class>GtkPixmapMenuItem</class>
194 <name>activate</name>
195 <handler>gtk_editable_cut_clipboard</handler>
196 <object>textbox</object>
197 <last_modification_time>Thu, 17 Jun 1999 07:34:00 GMT</last_modification_time>
199 <stock_item>GNOMEUIINFO_MENU_CUT_ITEM</stock_item>
203 <class>GtkPixmapMenuItem</class>
206 <name>activate</name>
207 <handler>gtk_editable_copy_clipboard</handler>
208 <object>textbox</object>
209 <last_modification_time>Thu, 17 Jun 1999 07:34:21 GMT</last_modification_time>
211 <stock_item>GNOMEUIINFO_MENU_COPY_ITEM</stock_item>
215 <class>GtkPixmapMenuItem</class>
218 <name>activate</name>
219 <handler>gtk_editable_paste_clipboard</handler>
220 <object>textbox</object>
221 <last_modification_time>Thu, 17 Jun 1999 07:34:47 GMT</last_modification_time>
223 <stock_item>GNOMEUIINFO_MENU_PASTE_ITEM</stock_item>
227 <class>GtkPixmapMenuItem</class>
230 <name>activate</name>
231 <handler>gtk_editable_delete_selection</handler>
232 <object>textbox</object>
233 <last_modification_time>Thu, 17 Jun 1999 07:35:04 GMT</last_modification_time>
235 <stock_item>GNOMEUIINFO_MENU_CLEAR_ITEM</stock_item>
241 <class>GtkMenuItem</class>
242 <name>settings1</name>
243 <stock_item>GNOMEUIINFO_MENU_SETTINGS_TREE</stock_item>
246 <class>GtkMenu</class>
247 <name>settings1_menu</name>
250 <class>GtkPixmapMenuItem</class>
251 <name>preferences1</name>
253 <name>activate</name>
254 <handler>gtk_widget_show</handler>
255 <object>propbox</object>
256 <last_modification_time>Tue, 28 Sep 1999 04:29:36 GMT</last_modification_time>
258 <stock_item>GNOMEUIINFO_MENU_PREFERENCES_ITEM</stock_item>
264 <class>GtkMenuItem</class>
266 <stock_item>GNOMEUIINFO_MENU_HELP_TREE</stock_item>
269 <class>GtkMenu</class>
270 <name>help1_menu</name>
273 <class>GtkPixmapMenuItem</class>
276 <name>activate</name>
277 <handler>gtk_widget_show</handler>
278 <object>aboutwin</object>
279 <last_modification_time>Thu, 17 Jun 1999 07:38:13 GMT</last_modification_time>
281 <stock_item>GNOMEUIINFO_MENU_ABOUT_ITEM</stock_item>
289 <class>GnomeDockItem</class>
290 <name>dockitem2</name>
291 <border_width>1</border_width>
292 <placement>GNOME_DOCK_TOP</placement>
294 <position>0</position>
296 <locked>False</locked>
297 <exclusive>False</exclusive>
298 <never_floating>False</never_floating>
299 <never_vertical>False</never_vertical>
300 <never_horizontal>False</never_horizontal>
301 <shadow_type>GTK_SHADOW_OUT</shadow_type>
304 <class>GtkToolbar</class>
305 <name>toolbar1</name>
306 <border_width>1</border_width>
307 <orientation>GTK_ORIENTATION_HORIZONTAL</orientation>
308 <type>GTK_TOOLBAR_BOTH</type>
309 <space_size>16</space_size>
310 <space_style>GTK_TOOLBAR_SPACE_LINE</space_style>
311 <relief>GTK_RELIEF_NONE</relief>
312 <tooltips>True</tooltips>
315 <class>GtkButton</class>
316 <child_name>Toolbar:button</child_name>
319 <stock_pixmap>GNOME_STOCK_PIXMAP_NEW</stock_pixmap>
323 <class>GtkButton</class>
324 <child_name>Toolbar:button</child_name>
327 <stock_pixmap>GNOME_STOCK_PIXMAP_OPEN</stock_pixmap>
331 <class>GtkButton</class>
332 <child_name>Toolbar:button</child_name>
335 <stock_pixmap>GNOME_STOCK_PIXMAP_SAVE</stock_pixmap>
339 <class>GtkButton</class>
340 <child_name>Toolbar:button</child_name>
344 <handler>gtk_editable_cut_clipboard</handler>
345 <object>textbox</object>
346 <last_modification_time>Thu, 17 Jun 1999 07:31:19 GMT</last_modification_time>
349 <stock_pixmap>GNOME_STOCK_PIXMAP_CUT</stock_pixmap>
351 <new_group>True</new_group>
356 <class>GtkButton</class>
357 <child_name>Toolbar:button</child_name>
361 <handler>gtk_editable_copy_clipboard</handler>
362 <object>textbox</object>
363 <last_modification_time>Thu, 17 Jun 1999 07:32:16 GMT</last_modification_time>
366 <stock_pixmap>GNOME_STOCK_PIXMAP_COPY</stock_pixmap>
370 <class>GtkButton</class>
371 <child_name>Toolbar:button</child_name>
375 <handler>gtk_editable_paste_clipboard</handler>
376 <object>textbox</object>
377 <last_modification_time>Thu, 17 Jun 1999 07:33:13 GMT</last_modification_time>
380 <stock_pixmap>GNOME_STOCK_PIXMAP_PASTE</stock_pixmap>
384 <class>GtkButton</class>
385 <child_name>Toolbar:button</child_name>
389 <handler>gtk_editable_delete_selection</handler>
390 <object>textbox</object>
391 <last_modification_time>Thu, 17 Jun 1999 07:33:30 GMT</last_modification_time>
394 <stock_pixmap>GNOME_STOCK_PIXMAP_CLEAR</stock_pixmap>
398 <class>GtkToggleButton</class>
399 <child_name>Toolbar:button</child_name>
400 <name>togglebutton1</name>
402 <stock_pixmap>GNOME_STOCK_PIXMAP_ATTACH</stock_pixmap>
403 <active>False</active>
405 <new_group>True</new_group>
412 <class>GtkText</class>
413 <child_name>GnomeDock:contents</child_name>
415 <can_focus>True</can_focus>
416 <has_focus>True</has_focus>
417 <editable>True</editable>
418 <text>The cut copy paste and clear buttons should work correctly.</text>
423 <class>GnomeAppBar</class>
424 <child_name>GnomeApp:appbar</child_name>
426 <has_progress>False</has_progress>
427 <has_status>True</has_status>
430 <expand>True</expand>
437 <class>GnomeAbout</class>
438 <name>aboutwin</name>
439 <visible>False</visible>
442 <handler>gtk_widget_hide</handler>
443 <last_modification_time>Thu, 17 Jun 1999 07:37:41 GMT</last_modification_time>
446 <copyright>Copyright (C) 1999</copyright>
447 <authors>James Henstridge <james@daa.com.au>
449 <comments>A simple program demonstrating what is possible with GNOME and
450 libglade. This interface has been coded entirely with GLADE, and
451 no C code specific to this interface has been written.</comments>
455 <class>GnomeMessageBox</class>
456 <name>closebox</name>
457 <visible>False</visible>
458 <message_box_type>GNOME_MESSAGE_BOX_QUESTION</message_box_type>
459 <message>Are you sure you want to quit
460 the application?</message>
461 <type>GTK_WINDOW_TOPLEVEL</type>
462 <position>GTK_WIN_POS_NONE</position>
464 <allow_shrink>False</allow_shrink>
465 <allow_grow>False</allow_grow>
466 <auto_shrink>False</auto_shrink>
467 <auto_close>True</auto_close>
468 <hide_on_close>False</hide_on_close>
471 <class>GtkVBox</class>
472 <child_name>GnomeDialog:vbox</child_name>
473 <name>dialog-vbox1</name>
474 <homogeneous>False</homogeneous>
478 <expand>True</expand>
483 <class>GtkHButtonBox</class>
484 <child_name>GnomeDialog:action_area</child_name>
485 <name>dialog-action_area1</name>
486 <layout_style>GTK_BUTTONBOX_END</layout_style>
488 <child_min_width>85</child_min_width>
489 <child_min_height>27</child_min_height>
490 <child_ipad_x>7</child_ipad_x>
491 <child_ipad_y>0</child_ipad_y>
494 <expand>False</expand>
496 <pack>GTK_PACK_END</pack>
500 <class>GtkButton</class>
502 <can_default>True</can_default>
503 <can_focus>True</can_focus>
506 <handler>gtk_main_quit</handler>
507 <last_modification_time>Sat, 19 Jun 1999 13:56:42 GMT</last_modification_time>
509 <stock_button>GNOME_STOCK_BUTTON_YES</stock_button>
513 <class>GtkButton</class>
515 <can_default>True</can_default>
516 <can_focus>True</can_focus>
519 <handler>gtk_widget_hide</handler>
520 <object>closebox</object>
521 <last_modification_time>Sat, 19 Jun 1999 13:56:56 GMT</last_modification_time>
523 <stock_button>GNOME_STOCK_BUTTON_NO</stock_button>
527 <class>GtkButton</class>
528 <name>button11</name>
529 <can_default>True</can_default>
530 <can_focus>True</can_focus>
532 <stock_pixmap>GNOME_STOCK_PIXMAP_OPEN</stock_pixmap>
539 <class>GtkWindow</class>
541 <visible>False</visible>
543 <name>delete_event</name>
544 <handler>gtk_widget_hide</handler>
545 <last_modification_time>Thu, 17 Jun 1999 14:53:15 GMT</last_modification_time>
548 <name>delete_event</name>
549 <handler>gtk_true</handler>
550 <last_modification_time>Thu, 17 Jun 1999 14:53:29 GMT</last_modification_time>
552 <title>Widget Tests</title>
553 <type>GTK_WINDOW_TOPLEVEL</type>
554 <position>GTK_WIN_POS_NONE</position>
556 <allow_shrink>False</allow_shrink>
557 <allow_grow>True</allow_grow>
558 <auto_shrink>False</auto_shrink>
561 <class>GtkNotebook</class>
562 <name>notebook1</name>
563 <can_focus>True</can_focus>
564 <show_tabs>True</show_tabs>
565 <show_border>True</show_border>
566 <tab_pos>GTK_POS_TOP</tab_pos>
567 <scrollable>True</scrollable>
568 <tab_hborder>2</tab_hborder>
569 <tab_vborder>2</tab_vborder>
570 <popup_enable>False</popup_enable>
573 <class>GnomeColorPicker</class>
574 <name>colorpicker1</name>
575 <border_width>100</border_width>
576 <can_focus>True</can_focus>
577 <dither>True</dither>
578 <use_alpha>False</use_alpha>
579 <title>Pick a colour</title>
580 <tooltip>Pick a colour</tooltip>
584 <class>GtkLabel</class>
585 <child_name>Notebook:tab</child_name>
587 <label>Colour Picker</label>
588 <justify>GTK_JUSTIFY_CENTER</justify>
597 <class>GnomeFontPicker</class>
598 <name>fontpicker1</name>
599 <border_width>75</border_width>
600 <can_focus>True</can_focus>
601 <title>Pick a Font</title>
602 <preview_text>AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz</preview_text>
603 <mode>GNOME_FONT_PICKER_MODE_FONT_INFO</mode>
604 <show_size>True</show_size>
605 <use_font>True</use_font>
606 <use_font_size>14</use_font_size>
610 <class>GtkLabel</class>
611 <child_name>Notebook:tab</child_name>
613 <label>Font Picker</label>
614 <justify>GTK_JUSTIFY_CENTER</justify>
623 <class>GnomeIconEntry</class>
624 <name>iconentry1</name>
625 <!-- The welcome greeting -->
627 <history_id>iconent_hist</history_id>
628 <max_saved>10</max_saved>
632 <class>GtkLabel</class>
633 <child_name>Notebook:tab</child_name>
635 <label>Icon Sel</label>
636 <justify>GTK_JUSTIFY_CENTER</justify>
645 <class>GnomeHRef</class>
647 <border_width>150</border_width>
648 <can_focus>True</can_focus>
649 <url>http://www.daa.com.au/~james/gnome/</url>
650 <label>My Gnome Site</label>
654 <class>GtkLabel</class>
655 <child_name>Notebook:tab</child_name>
658 <justify>GTK_JUSTIFY_CENTER</justify>
667 <class>GnomeEntry</class>
669 <history_id>EntTest</history_id>
670 <max_saved>10</max_saved>
673 <class>GtkEntry</class>
674 <child_name>GnomeEntry:entry</child_name>
676 <can_focus>True</can_focus>
677 <editable>True</editable>
678 <text_visible>True</text_visible>
679 <text_max_length>0</text_max_length>
685 <class>GtkLabel</class>
686 <child_name>Notebook:tab</child_name>
689 <justify>GTK_JUSTIFY_CENTER</justify>
698 <class>GnomeFileEntry</class>
699 <name>fileentry1</name>
700 <border_width>50</border_width>
701 <history_id>FileEntTest</history_id>
702 <max_saved>10</max_saved>
703 <directory>False</directory>
707 <class>GtkEntry</class>
708 <child_name>GnomeEntry:entry</child_name>
710 <can_focus>True</can_focus>
711 <editable>True</editable>
712 <text_visible>True</text_visible>
713 <text_max_length>0</text_max_length>
719 <class>GtkLabel</class>
720 <child_name>Notebook:tab</child_name>
722 <label>File Entry</label>
723 <justify>GTK_JUSTIFY_CENTER</justify>
732 <class>GtkDial</class>
734 <view_only>False</view_only>
735 <update_policy>GTK_UPDATE_CONTINUOUS</update_policy>
741 <page_size>0</page_size>
745 <class>GtkLabel</class>
746 <child_name>Notebook:tab</child_name>
749 <justify>GTK_JUSTIFY_CENTER</justify>
758 <class>GtkClock</class>
760 <!-- This comment is ignored. -->
761 <type>GTK_CLOCK_REALTIME</type>
762 <!-- This is a comment for the translators. -->
763 <!-- This should be an strftime format,
764 as described in the strftime(3) manual page. -->
765 <format>%H:%M</format>
767 <interval>60</interval>
771 <class>GtkLabel</class>
772 <child_name>Notebook:tab</child_name>
775 <justify>GTK_JUSTIFY_CENTER</justify>
784 <class>GnomeAnimator</class>
785 <name>animator1</name>
788 <loop_type>GNOME_ANIMATOR_LOOP_NONE</loop_type>
789 <playback_direction>False</playback_direction>
790 <playback_speed>1</playback_speed>
794 <class>GtkLabel</class>
795 <child_name>Notebook:tab</child_name>
797 <label>Animator</label>
798 <justify>GTK_JUSTIFY_CENTER</justify>
807 <class>GnomeCalculator</class>
808 <name>calculator1</name>
812 <class>GtkLabel</class>
813 <child_name>Notebook:tab</child_name>
815 <label>Calculator</label>
816 <justify>GTK_JUSTIFY_CENTER</justify>
825 <class>GnomeLess</class>
827 <font>-b&h-lucidatypewriter-bold-r-normal-*-*-140-*-*-m-*-iso8859-1</font>
831 <class>GtkLabel</class>
832 <child_name>Notebook:tab</child_name>
835 <justify>GTK_JUSTIFY_CENTER</justify>
844 <class>GnomePaperSelector</class>
845 <name>paperselector1</name>
846 <border_width>50</border_width>
850 <class>GtkLabel</class>
851 <child_name>Notebook:tab</child_name>
853 <label>PaperSel</label>
854 <justify>GTK_JUSTIFY_CENTER</justify>
863 <class>GnomeSpell</class>
868 <class>GtkLabel</class>
869 <child_name>Notebook:tab</child_name>
871 <label>GnomeSpell</label>
872 <justify>GTK_JUSTIFY_CENTER</justify>
883 <class>GtkFileSelection</class>
885 <border_width>10</border_width>
886 <visible>False</visible>
888 <name>delete_event</name>
889 <handler>gtk_widget_hide</handler>
890 <last_modification_time>Thu, 17 Jun 1999 14:58:58 GMT</last_modification_time>
893 <name>delete_event</name>
894 <handler>gtk_true</handler>
895 <last_modification_time>Thu, 17 Jun 1999 14:59:07 GMT</last_modification_time>
897 <title>Select File</title>
898 <type>GTK_WINDOW_TOPLEVEL</type>
899 <position>GTK_WIN_POS_NONE</position>
901 <allow_shrink>False</allow_shrink>
902 <allow_grow>True</allow_grow>
903 <auto_shrink>False</auto_shrink>
904 <show_file_op_buttons>True</show_file_op_buttons>
907 <class>GtkButton</class>
908 <child_name>FileSel:ok_button</child_name>
909 <name>ok_button1</name>
910 <can_default>True</can_default>
911 <can_focus>True</can_focus>
914 <handler>gtk_widget_hide</handler>
915 <object>filesel</object>
916 <last_modification_time>Thu, 17 Jun 1999 15:02:33 GMT</last_modification_time>
920 <handler>gtk_widget_show</handler>
921 <object>msgdialog</object>
922 <last_modification_time>Thu, 17 Jun 1999 15:02:51 GMT</last_modification_time>
928 <class>GtkButton</class>
929 <child_name>FileSel:cancel_button</child_name>
930 <name>cancel_button1</name>
931 <can_default>True</can_default>
932 <has_default>True</has_default>
933 <can_focus>True</can_focus>
936 <handler>gtk_widget_hide</handler>
937 <object>filesel</object>
938 <last_modification_time>Thu, 17 Jun 1999 14:59:25 GMT</last_modification_time>
940 <label>Cancel</label>
945 <class>GnomeDialog</class>
946 <name>msgdialog</name>
947 <visible>False</visible>
948 <type>GTK_WINDOW_TOPLEVEL</type>
949 <position>GTK_WIN_POS_NONE</position>
951 <allow_shrink>False</allow_shrink>
952 <allow_grow>False</allow_grow>
953 <auto_shrink>False</auto_shrink>
954 <auto_close>True</auto_close>
955 <hide_on_close>True</hide_on_close>
958 <class>GtkVBox</class>
959 <child_name>GnomeDialog:vbox</child_name>
960 <name>dialog-vbox2</name>
961 <homogeneous>False</homogeneous>
965 <expand>True</expand>
970 <class>GtkLabel</class>
972 <label>If this was a real application, clicking on the
973 OK button would probably have done something
974 useful, rather than just displaying this dialog.</label>
975 <justify>GTK_JUSTIFY_CENTER</justify>
983 <expand>False</expand>
989 <class>GtkHButtonBox</class>
990 <child_name>GnomeDialog:action_area</child_name>
991 <name>dialog-action_area2</name>
992 <layout_style>GTK_BUTTONBOX_END</layout_style>
994 <child_min_width>85</child_min_width>
995 <child_min_height>27</child_min_height>
996 <child_ipad_x>7</child_ipad_x>
997 <child_ipad_y>0</child_ipad_y>
1000 <expand>False</expand>
1002 <pack>GTK_PACK_END</pack>
1006 <class>GtkButton</class>
1007 <name>button10</name>
1008 <can_default>True</can_default>
1009 <can_focus>True</can_focus>
1010 <stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
1014 <class>GtkButton</class>
1015 <name>button10</name>
1016 <can_default>True</can_default>
1017 <can_focus>True</can_focus>
1018 <label>Nothing</label>
1025 <class>GnomePropertyBox</class>
1026 <name>propbox</name>
1027 <visible>False</visible>
1029 <name>delete_event</name>
1030 <handler>gtk_widget_hide</handler>
1031 <last_modification_time>Tue, 28 Sep 1999 04:29:52 GMT</last_modification_time>
1034 <name>delete_event</name>
1035 <handler>gtk_true</handler>
1036 <last_modification_time>Tue, 28 Sep 1999 04:30:00 GMT</last_modification_time>
1039 <name>clicked</name>
1040 <handler>gtk_widget_hide</handler>
1041 <last_modification_time>Tue, 28 Sep 1999 04:30:37 GMT</last_modification_time>
1045 <class>GtkNotebook</class>
1046 <child_name>GnomePropertyBox:notebook</child_name>
1047 <name>notebook2</name>
1048 <can_focus>True</can_focus>
1049 <show_tabs>True</show_tabs>
1050 <show_border>True</show_border>
1051 <tab_pos>GTK_POS_TOP</tab_pos>
1052 <scrollable>False</scrollable>
1053 <tab_hborder>2</tab_hborder>
1054 <tab_vborder>2</tab_vborder>
1055 <popup_enable>False</popup_enable>
1057 <padding>0</padding>
1058 <expand>True</expand>
1063 <class>GtkFrame</class>
1065 <border_width>5</border_width>
1066 <label_xalign>0</label_xalign>
1067 <shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
1070 <class>GtkVBox</class>
1072 <border_width>5</border_width>
1073 <homogeneous>False</homogeneous>
1074 <spacing>3</spacing>
1077 <class>GtkCombo</class>
1079 <value_in_list>False</value_in_list>
1080 <ok_if_empty>True</ok_if_empty>
1081 <case_sensitive>False</case_sensitive>
1082 <use_arrows>True</use_arrows>
1083 <use_arrows_always>False</use_arrows_always>
1086 <padding>0</padding>
1087 <expand>False</expand>
1092 <class>GtkEntry</class>
1093 <child_name>GtkCombo:entry</child_name>
1094 <name>combo-entry1</name>
1095 <can_focus>True</can_focus>
1097 <name>changed</name>
1098 <handler>gnome_property_box_changed</handler>
1099 <object>propbox</object>
1100 <last_modification_time>Tue, 28 Sep 1999 04:25:07 GMT</last_modification_time>
1102 <editable>True</editable>
1103 <text_visible>True</text_visible>
1104 <text_max_length>0</text_max_length>
1110 <class>GnomeFileEntry</class>
1111 <name>fileentry2</name>
1112 <max_saved>10</max_saved>
1113 <directory>False</directory>
1114 <modal>False</modal>
1116 <padding>0</padding>
1117 <expand>False</expand>
1122 <class>GtkEntry</class>
1123 <child_name>GnomeEntry:entry</child_name>
1124 <name>combo-entry3</name>
1125 <can_focus>True</can_focus>
1127 <name>changed</name>
1128 <handler>gnome_property_box_changed</handler>
1129 <object>propbox</object>
1130 <last_modification_time>Tue, 28 Sep 1999 04:25:19 GMT</last_modification_time>
1132 <editable>True</editable>
1133 <text_visible>True</text_visible>
1134 <text_max_length>0</text_max_length>
1140 <class>GnomePixmapEntry</class>
1141 <name>pixmapentry1</name>
1142 <preview>True</preview>
1144 <padding>0</padding>
1145 <expand>False</expand>
1150 <class>GnomeFileEntry</class>
1151 <child_name>GnomePixmapEntry:file-entry</child_name>
1153 <max_saved>10</max_saved>
1154 <directory>False</directory>
1155 <modal>False</modal>
1158 <class>GtkEntry</class>
1159 <child_name>GnomeEntry:entry</child_name>
1160 <name>combo-entry2</name>
1161 <can_focus>True</can_focus>
1163 <name>changed</name>
1164 <handler>gnome_property_box_changed</handler>
1165 <object>propbox</object>
1166 <last_modification_time>Tue, 28 Sep 1999 04:25:38 GMT</last_modification_time>
1168 <editable>True</editable>
1169 <text_visible>True</text_visible>
1170 <text_max_length>0</text_max_length>
1179 <class>GtkLabel</class>
1180 <child_name>Notebook:tab</child_name>
1181 <name>label15</name>
1182 <label>_Entry</label>
1183 <justify>GTK_JUSTIFY_CENTER</justify>
1185 <xalign>0.5</xalign>
1186 <yalign>0.5</yalign>
1192 <class>GtkFrame</class>
1194 <border_width>5</border_width>
1195 <label_xalign>0</label_xalign>
1196 <shadow_type>GTK_SHADOW_OUT</shadow_type>
1199 <class>GtkDial</class>
1201 <view_only>False</view_only>
1202 <update_policy>GTK_UPDATE_CONTINUOUS</update_policy>
1208 <page_size>0</page_size>
1213 <class>GtkLabel</class>
1214 <child_name>Notebook:tab</child_name>
1215 <name>label16</name>
1216 <label>_Dial</label>
1217 <justify>GTK_JUSTIFY_CENTER</justify>
1219 <xalign>0.5</xalign>
1220 <yalign>0.5</yalign>
1228 <class>GtkWindow</class>
1229 <name>druidwin</name>
1230 <visible>False</visible>
1232 <name>delete_event</name>
1233 <handler>gtk_widget_hide</handler>
1234 <last_modification_time>Thu, 28 Oct 1999 15:52:59 GMT</last_modification_time>
1237 <name>delete_event</name>
1238 <handler>gtk_true</handler>
1239 <last_modification_time>Thu, 28 Oct 1999 15:53:09 GMT</last_modification_time>
1241 <title>GnomeDruid</title>
1242 <type>GTK_WINDOW_TOPLEVEL</type>
1243 <position>GTK_WIN_POS_NONE</position>
1244 <modal>False</modal>
1245 <allow_shrink>False</allow_shrink>
1246 <allow_grow>True</allow_grow>
1247 <auto_shrink>False</auto_shrink>
1250 <class>GnomeDruid</class>
1254 <handler>gtk_widget_hide</handler>
1255 <object>druidwin</object>
1256 <last_modification_time>Thu, 28 Oct 1999 15:55:01 GMT</last_modification_time>
1260 <class>GnomeDruidPageStart</class>
1261 <name>druidpagestart1</name>
1262 <title>Test GnomeDruid</title>
1263 <text>This is a simple test of the GnomeDruid
1264 code in gnome-libs and the wrapper
1265 for said code in libglade.</text>
1266 <title_color>255,255,255</title_color>
1267 <text_color>0,0,0</text_color>
1268 <background_color>254,226,40</background_color>
1269 <logo_background_color>255,0,20</logo_background_color>
1270 <textbox_color>95,254,235</textbox_color>
1274 <class>GnomeDruidPageStandard</class>
1275 <name>druidpagestandard1</name>
1276 <title>A dial in a druid</title>
1277 <title_color>255,255,255</title_color>
1278 <background_color>55,190,93</background_color>
1279 <logo_background_color>255,5,234</logo_background_color>
1282 <class>GtkVBox</class>
1283 <child_name>GnomeDruidPageStandard:vbox</child_name>
1284 <name>druid-vbox1</name>
1285 <border_width>50</border_width>
1286 <homogeneous>False</homogeneous>
1287 <spacing>0</spacing>
1289 <padding>0</padding>
1290 <expand>True</expand>
1295 <class>GtkDial</class>
1297 <view_only>False</view_only>
1298 <update_policy>GTK_UPDATE_CONTINUOUS</update_policy>
1304 <page_size>0</page_size>
1306 <padding>0</padding>
1307 <expand>True</expand>
1315 <class>GnomeDruidPageFinish</class>
1316 <name>druidpagefinish1</name>
1319 <handler>gtk_widget_hide</handler>
1320 <object>druidwin</object>
1321 <last_modification_time>Thu, 28 Oct 1999 15:55:24 GMT</last_modification_time>
1323 <title>Last Page</title>
1324 <text>This is the end of the druid example</text>
1325 <background_color>25,25,112</background_color>
1326 <logo_background_color>255,147,6</logo_background_color>
1327 <textbox_color>190,190,190</textbox_color>
1328 <text_color>0,0,0</text_color>
1329 <title_color>255,255,255</title_color>
1337 tmpfiles="$tmpfiles xg-gl-1.pot"
1338 : ${XGETTEXT=xgettext}
1339 ${XGETTEXT} --add-comments -o - widgets.glade | grep -v 'POT-Creation-Date' > xg-gl-1.pot
1340 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
1342 tmpfiles="$tmpfiles xg-gl-1.ok"
1343 cat <<EOF > xg-gl-1.ok
1344 # SOME DESCRIPTIVE TITLE.
1345 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
1346 # This file is distributed under the same license as the PACKAGE package.
1347 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
1352 "Project-Id-Version: PACKAGE VERSION\n"
1353 "Report-Msgid-Bugs-To: \n"
1354 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1355 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1356 "Language-Team: LANGUAGE <LL@li.org>\n"
1358 "MIME-Version: 1.0\n"
1359 "Content-Type: text/plain; charset=CHARSET\n"
1360 "Content-Transfer-Encoding: 8bit\n"
1363 msgid "Libglade-GNOME Test"
1366 #: widgets.glade:103
1370 #: widgets.glade:116
1374 #: widgets.glade:295
1378 #: widgets.glade:303
1382 #: widgets.glade:311
1386 #: widgets.glade:325
1390 #: widgets.glade:342
1394 #: widgets.glade:356
1398 #: widgets.glade:370
1402 #: widgets.glade:378
1406 #: widgets.glade:395
1407 msgid "The cut copy paste and clear buttons should work correctly."
1410 #: widgets.glade:423
1411 msgid "Copyright (C) 1999"
1414 #: widgets.glade:426
1416 "A simple program demonstrating what is possible with GNOME and\n"
1417 "libglade. This interface has been coded entirely with GLADE, and\n"
1418 "no C code specific to this interface has been written."
1421 #: widgets.glade:508
1425 #: widgets.glade:529
1426 msgid "Widget Tests"
1429 #: widgets.glade:556 widgets.glade:557
1430 msgid "Pick a colour"
1433 #: widgets.glade:564
1434 msgid "Colour Picker"
1437 #: widgets.glade:578
1441 #: widgets.glade:579
1442 msgid "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz"
1445 #: widgets.glade:590
1449 #. The welcome greeting
1450 #: widgets.glade:603
1454 #: widgets.glade:612
1458 #: widgets.glade:627
1459 msgid "My Gnome Site"
1462 #: widgets.glade:634
1466 #: widgets.glade:665
1470 #: widgets.glade:699
1474 #: widgets.glade:725
1478 #. This is a comment for the translators.
1479 #. This should be an strftime format,
1480 #. as described in the strftime(3) manual page.
1481 #: widgets.glade:742
1485 #: widgets.glade:751
1489 #: widgets.glade:774
1493 #: widgets.glade:792
1497 #: widgets.glade:811
1501 #: widgets.glade:830
1505 #: widgets.glade:848
1509 #: widgets.glade:874
1513 #: widgets.glade:901
1517 #: widgets.glade:917
1521 #: widgets.glade:949
1523 "If this was a real application, clicking on the\n"
1524 "OK button would probably have done something\n"
1525 "useful, rather than just displaying this dialog."
1528 #: widgets.glade:995
1532 #: widgets.glade:1159
1536 #: widgets.glade:1193
1540 #: widgets.glade:1218
1544 #: widgets.glade:1239
1545 msgid "Test GnomeDruid"
1548 #: widgets.glade:1240
1550 "This is a simple test of the GnomeDruid\n"
1551 "code in gnome-libs and the wrapper\n"
1552 "for said code in libglade."
1555 #: widgets.glade:1253
1556 msgid "A dial in a druid"
1559 #: widgets.glade:1300
1563 #: widgets.glade:1301
1564 msgid "This is the end of the druid example"
1569 ${DIFF} xg-gl-1.ok xg-gl-1.pot