1 | <?xml version="1.0"?> |
---|
2 | <GTK-Interface> |
---|
3 | |
---|
4 | <project> |
---|
5 | <name>project1</name> |
---|
6 | <directory></directory> |
---|
7 | <source_directory>src</source_directory> |
---|
8 | <pixmaps_directory>pixmaps</pixmaps_directory> |
---|
9 | <language>C</language> |
---|
10 | <gnome_support>True</gnome_support> |
---|
11 | <gettext_support>True</gettext_support> |
---|
12 | <use_widget_names>False</use_widget_names> |
---|
13 | <output_main_file>True</output_main_file> |
---|
14 | <output_support_files>True</output_support_files> |
---|
15 | <output_build_files>True</output_build_files> |
---|
16 | <backup_source_files>True</backup_source_files> |
---|
17 | <main_source_file>interface.c</main_source_file> |
---|
18 | <main_header_file>interface.h</main_header_file> |
---|
19 | <handler_source_file>callbacks.c</handler_source_file> |
---|
20 | <handler_header_file>callbacks.h</handler_header_file> |
---|
21 | <support_source_file>support.c</support_source_file> |
---|
22 | <support_header_file>support.h</support_header_file> |
---|
23 | </project> |
---|
24 | |
---|
25 | <widget> |
---|
26 | <class>GtkWindow</class> |
---|
27 | <name>window1</name> |
---|
28 | <signal> |
---|
29 | <name>destroy</name> |
---|
30 | <handler>gtk_main_quit</handler> |
---|
31 | <last_modification_time>Mon, 07 Jun 1999 01:53:26 GMT</last_modification_time> |
---|
32 | </signal> |
---|
33 | <title>window1</title> |
---|
34 | <type>GTK_WINDOW_TOPLEVEL</type> |
---|
35 | <position>GTK_WIN_POS_NONE</position> |
---|
36 | <allow_shrink>False</allow_shrink> |
---|
37 | <allow_grow>True</allow_grow> |
---|
38 | <auto_shrink>False</auto_shrink> |
---|
39 | |
---|
40 | <widget> |
---|
41 | <class>GtkVBox</class> |
---|
42 | <name>vbox1</name> |
---|
43 | <homogeneous>False</homogeneous> |
---|
44 | <spacing>0</spacing> |
---|
45 | |
---|
46 | <widget> |
---|
47 | <class>GtkMenuBar</class> |
---|
48 | <name>menubar1</name> |
---|
49 | <child> |
---|
50 | <padding>0</padding> |
---|
51 | <expand>False</expand> |
---|
52 | <fill>False</fill> |
---|
53 | </child> |
---|
54 | |
---|
55 | <widget> |
---|
56 | <class>GtkMenuItem</class> |
---|
57 | <name>file1</name> |
---|
58 | <label>File</label> |
---|
59 | <right_justify>False</right_justify> |
---|
60 | |
---|
61 | <widget> |
---|
62 | <class>GtkMenu</class> |
---|
63 | <name>file1_menu</name> |
---|
64 | |
---|
65 | <widget> |
---|
66 | <class>GtkMenuItem</class> |
---|
67 | <name>quit1</name> |
---|
68 | <accelerator> |
---|
69 | <modifiers>GDK_CONTROL_MASK</modifiers> |
---|
70 | <key>GDK_Q</key> |
---|
71 | <signal>activate</signal> |
---|
72 | </accelerator> |
---|
73 | <signal> |
---|
74 | <name>activate</name> |
---|
75 | <handler>gtk_main_quit</handler> |
---|
76 | <last_modification_time>Mon, 07 Jun 1999 01:54:35 GMT</last_modification_time> |
---|
77 | </signal> |
---|
78 | <label>Quit</label> |
---|
79 | <right_justify>False</right_justify> |
---|
80 | </widget> |
---|
81 | </widget> |
---|
82 | </widget> |
---|
83 | </widget> |
---|
84 | |
---|
85 | <widget> |
---|
86 | <class>Custom</class> |
---|
87 | <name>custom1</name> |
---|
88 | <child> |
---|
89 | <padding>4</padding> |
---|
90 | <expand>True</expand> |
---|
91 | <fill>True</fill> |
---|
92 | </child> |
---|
93 | <creation_function>gtk_color_selection_new</creation_function> |
---|
94 | <int1>0</int1> |
---|
95 | <int2>0</int2> |
---|
96 | <last_modification_time>Mon, 07 Jun 1999 01:57:03 GMT</last_modification_time> |
---|
97 | </widget> |
---|
98 | |
---|
99 | <widget> |
---|
100 | <class>GtkLabel</class> |
---|
101 | <name>label1</name> |
---|
102 | <child> |
---|
103 | <padding>0</padding> |
---|
104 | <expand>False</expand> |
---|
105 | <fill>False</fill> |
---|
106 | </child> |
---|
107 | <label>This example shows the use of a custom widget. |
---|
108 | In this case, the intitialiser is gtk_color_selection_new.</label> |
---|
109 | <justify>GTK_JUSTIFY_CENTER</justify> |
---|
110 | <xalign>0.5</xalign> |
---|
111 | <yalign>0.5</yalign> |
---|
112 | <xpad>0</xpad> |
---|
113 | <ypad>0</ypad> |
---|
114 | </widget> |
---|
115 | </widget> |
---|
116 | </widget> |
---|
117 | |
---|
118 | </GTK-Interface> |
---|