|
1 | | -<?xml version="1.0" encoding="UTF-8"?> |
2 | | -<!-- Generated with glade 3.22.0 --> |
| 1 | +<?xml version="1.0"?> |
3 | 2 | <interface> |
4 | | - <requires lib="gtk+" version="3.22"/> |
5 | | - <object class="GtkImage" id="image1"> |
6 | | - <property name="visible">True</property> |
7 | | - <property name="can_focus">False</property> |
8 | | - <property name="icon_name">system-run</property> |
9 | | - </object> |
10 | | - <object class="GtkImage" id="image2"> |
11 | | - <property name="visible">True</property> |
12 | | - <property name="can_focus">False</property> |
13 | | - <property name="icon_name">window-close</property> |
14 | | - </object> |
| 3 | + <!-- interface-requires gtk+ 2.6 --> |
| 4 | + <!-- interface-naming-policy toplevel-contextual --> |
15 | 5 | <object class="GtkDialog" id="toplevel"> |
16 | 6 | <property name="visible">True</property> |
17 | | - <property name="can_focus">False</property> |
18 | 7 | <property name="title" translatable="yes" comments="This is an utility to easily test various applets">Test applet utility</property> |
19 | 8 | <property name="resizable">False</property> |
20 | 9 | <property name="type_hint">dialog</property> |
21 | | - <signal name="destroy" handler="gtk_main_quit" swapped="no"/> |
| 10 | + <signal name="destroy" handler="gtk_main_quit"/> |
22 | 11 | <child internal-child="vbox"> |
23 | | - <object class="GtkBox" id="dialog-vbox1"> |
| 12 | + <object class="GtkVBox" id="dialog-vbox1"> |
24 | 13 | <property name="visible">True</property> |
25 | | - <property name="can_focus">False</property> |
26 | 14 | <property name="orientation">vertical</property> |
27 | 15 | <property name="spacing">8</property> |
28 | | - <child internal-child="action_area"> |
29 | | - <object class="GtkButtonBox" id="dialog-action_area1"> |
30 | | - <property name="visible">True</property> |
31 | | - <property name="can_focus">False</property> |
32 | | - <property name="layout_style">end</property> |
33 | | - <child> |
34 | | - <object class="GtkButton" id="ok-button"> |
35 | | - <property name="label" translatable="yes">_Execute</property> |
36 | | - <property name="visible">True</property> |
37 | | - <property name="can_focus">True</property> |
38 | | - <property name="can_default">True</property> |
39 | | - <property name="receives_default">False</property> |
40 | | - <property name="image">image1</property> |
41 | | - <property name="use_underline">True</property> |
42 | | - <signal name="clicked" handler="on_execute_button_clicked" swapped="no"/> |
43 | | - </object> |
44 | | - <packing> |
45 | | - <property name="expand">False</property> |
46 | | - <property name="fill">False</property> |
47 | | - <property name="position">0</property> |
48 | | - </packing> |
49 | | - </child> |
50 | | - <child> |
51 | | - <object class="GtkButton" id="button1"> |
52 | | - <property name="label" translatable="yes">_Close</property> |
53 | | - <property name="visible">True</property> |
54 | | - <property name="can_focus">True</property> |
55 | | - <property name="can_default">True</property> |
56 | | - <property name="receives_default">False</property> |
57 | | - <property name="image">image2</property> |
58 | | - <property name="use_underline">True</property> |
59 | | - <signal name="clicked" handler="gtk_main_quit" swapped="no"/> |
60 | | - </object> |
61 | | - <packing> |
62 | | - <property name="expand">False</property> |
63 | | - <property name="fill">False</property> |
64 | | - <property name="position">1</property> |
65 | | - </packing> |
66 | | - </child> |
67 | | - </object> |
68 | | - <packing> |
69 | | - <property name="expand">False</property> |
70 | | - <property name="fill">False</property> |
71 | | - <property name="pack_type">end</property> |
72 | | - <property name="position">0</property> |
73 | | - </packing> |
74 | | - </child> |
75 | 16 | <child> |
76 | | - <object class="GtkGrid" id="table2"> |
| 17 | + <object class="GtkTable" id="table2"> |
77 | 18 | <property name="visible">True</property> |
78 | | - <property name="can_focus">False</property> |
79 | 19 | <property name="border_width">2</property> |
80 | | - <property name="row_spacing">4</property> |
| 20 | + <property name="n_rows">5</property> |
| 21 | + <property name="n_columns">2</property> |
81 | 22 | <property name="column_spacing">4</property> |
| 23 | + <property name="row_spacing">4</property> |
82 | 24 | <child> |
83 | 25 | <object class="GtkLabel" id="size-label"> |
84 | 26 | <property name="visible">True</property> |
85 | | - <property name="can_focus">False</property> |
| 27 | + <property name="xalign">1</property> |
86 | 28 | <property name="label" translatable="yes">_Size:</property> |
87 | 29 | <property name="use_underline">True</property> |
88 | 30 | <property name="justify">center</property> |
89 | 31 | <property name="mnemonic_widget">size-combo</property> |
90 | | - <property name="xalign">1</property> |
91 | 32 | </object> |
92 | 33 | <packing> |
93 | | - <property name="left_attach">0</property> |
94 | 34 | <property name="top_attach">4</property> |
| 35 | + <property name="bottom_attach">5</property> |
| 36 | + <property name="x_options">GTK_FILL</property> |
| 37 | + <property name="y_options"></property> |
95 | 38 | </packing> |
96 | 39 | </child> |
97 | 40 | <child> |
98 | 41 | <object class="GtkLabel" id="applet-label"> |
99 | 42 | <property name="visible">True</property> |
100 | | - <property name="can_focus">False</property> |
| 43 | + <property name="xalign">1</property> |
101 | 44 | <property name="label" translatable="yes">_Applet:</property> |
102 | 45 | <property name="use_underline">True</property> |
103 | 46 | <property name="justify">center</property> |
104 | 47 | <property name="mnemonic_widget">applet-combo</property> |
105 | | - <property name="xalign">1</property> |
106 | 48 | </object> |
107 | 49 | <packing> |
108 | | - <property name="left_attach">0</property> |
109 | | - <property name="top_attach">0</property> |
| 50 | + <property name="x_options">GTK_FILL</property> |
| 51 | + <property name="y_options"></property> |
110 | 52 | </packing> |
111 | 53 | </child> |
112 | 54 | <child> |
113 | 55 | <object class="GtkLabel" id="orient-label"> |
114 | 56 | <property name="visible">True</property> |
115 | | - <property name="can_focus">False</property> |
| 57 | + <property name="xalign">1</property> |
116 | 58 | <property name="label" translatable="yes">_Orientation:</property> |
117 | 59 | <property name="use_underline">True</property> |
118 | 60 | <property name="justify">center</property> |
119 | 61 | <property name="mnemonic_widget">orient-combo</property> |
120 | | - <property name="xalign">1</property> |
121 | 62 | </object> |
122 | 63 | <packing> |
123 | | - <property name="left_attach">0</property> |
124 | 64 | <property name="top_attach">3</property> |
| 65 | + <property name="bottom_attach">4</property> |
| 66 | + <property name="x_options">GTK_FILL</property> |
| 67 | + <property name="y_options"></property> |
125 | 68 | </packing> |
126 | 69 | </child> |
127 | 70 | <child> |
128 | 71 | <object class="GtkLabel" id="prefs-label"> |
129 | 72 | <property name="visible">True</property> |
130 | | - <property name="can_focus">False</property> |
| 73 | + <property name="xalign">1</property> |
131 | 74 | <property name="label" translatable="yes">_Prefs Path:</property> |
132 | 75 | <property name="use_underline">True</property> |
133 | 76 | <property name="justify">center</property> |
134 | 77 | <property name="mnemonic_widget">prefs-path-entry</property> |
135 | | - <property name="xalign">1</property> |
136 | 78 | </object> |
137 | 79 | <packing> |
138 | | - <property name="left_attach">0</property> |
139 | 80 | <property name="top_attach">2</property> |
| 81 | + <property name="bottom_attach">3</property> |
| 82 | + <property name="x_options">GTK_FILL</property> |
| 83 | + <property name="y_options"></property> |
140 | 84 | </packing> |
141 | 85 | </child> |
142 | 86 | <child> |
143 | 87 | <object class="GtkEntry" id="prefs-path-entry"> |
144 | 88 | <property name="visible">True</property> |
145 | 89 | <property name="can_focus">True</property> |
146 | | - <property name="hexpand">True</property> |
147 | 90 | </object> |
148 | 91 | <packing> |
149 | 92 | <property name="left_attach">1</property> |
| 93 | + <property name="right_attach">2</property> |
150 | 94 | <property name="top_attach">2</property> |
| 95 | + <property name="bottom_attach">3</property> |
| 96 | + <property name="y_options"></property> |
151 | 97 | </packing> |
152 | 98 | </child> |
153 | 99 | <child> |
154 | 100 | <object class="GtkComboBox" id="applet-combo"> |
155 | 101 | <property name="visible">True</property> |
156 | | - <property name="can_focus">False</property> |
157 | | - <property name="hexpand">True</property> |
158 | 102 | </object> |
159 | 103 | <packing> |
160 | 104 | <property name="left_attach">1</property> |
161 | | - <property name="top_attach">0</property> |
| 105 | + <property name="right_attach">2</property> |
| 106 | + <property name="y_options">GTK_FILL</property> |
162 | 107 | </packing> |
163 | 108 | </child> |
164 | 109 | <child> |
165 | 110 | <object class="GtkComboBox" id="orient-combo"> |
166 | 111 | <property name="visible">True</property> |
167 | | - <property name="can_focus">False</property> |
168 | | - <property name="hexpand">True</property> |
169 | 112 | </object> |
170 | 113 | <packing> |
171 | 114 | <property name="left_attach">1</property> |
| 115 | + <property name="right_attach">2</property> |
172 | 116 | <property name="top_attach">3</property> |
| 117 | + <property name="bottom_attach">4</property> |
| 118 | + <property name="y_options">GTK_FILL</property> |
173 | 119 | </packing> |
174 | 120 | </child> |
175 | 121 | <child> |
176 | 122 | <object class="GtkComboBox" id="size-combo"> |
177 | 123 | <property name="visible">True</property> |
178 | | - <property name="can_focus">False</property> |
179 | | - <property name="hexpand">True</property> |
180 | 124 | </object> |
181 | 125 | <packing> |
182 | 126 | <property name="left_attach">1</property> |
| 127 | + <property name="right_attach">2</property> |
183 | 128 | <property name="top_attach">4</property> |
| 129 | + <property name="bottom_attach">5</property> |
| 130 | + <property name="y_options">GTK_FILL</property> |
184 | 131 | </packing> |
185 | 132 | </child> |
186 | 133 | <child> |
187 | | - <object class="GtkSeparator" id="hseparator2"> |
| 134 | + <object class="GtkHSeparator" id="hseparator2"> |
188 | 135 | <property name="visible">True</property> |
189 | | - <property name="can_focus">False</property> |
190 | | - <property name="valign">center</property> |
191 | 136 | </object> |
192 | 137 | <packing> |
193 | | - <property name="left_attach">0</property> |
| 138 | + <property name="right_attach">2</property> |
194 | 139 | <property name="top_attach">1</property> |
195 | | - <property name="width">2</property> |
| 140 | + <property name="bottom_attach">2</property> |
| 141 | + <property name="y_options">GTK_FILL</property> |
196 | 142 | </packing> |
197 | 143 | </child> |
198 | 144 | </object> |
|
202 | 148 | <property name="position">1</property> |
203 | 149 | </packing> |
204 | 150 | </child> |
| 151 | + <child internal-child="action_area"> |
| 152 | + <object class="GtkHButtonBox" id="dialog-action_area1"> |
| 153 | + <property name="visible">True</property> |
| 154 | + <property name="layout_style">end</property> |
| 155 | + <child> |
| 156 | + <object class="GtkButton" id="ok-button"> |
| 157 | + <property name="label">gtk-execute</property> |
| 158 | + <property name="visible">True</property> |
| 159 | + <property name="can_focus">True</property> |
| 160 | + <property name="can_default">True</property> |
| 161 | + <property name="receives_default">False</property> |
| 162 | + <property name="use_stock">True</property> |
| 163 | + <signal name="clicked" handler="on_execute_button_clicked"/> |
| 164 | + </object> |
| 165 | + <packing> |
| 166 | + <property name="expand">False</property> |
| 167 | + <property name="fill">False</property> |
| 168 | + <property name="position">0</property> |
| 169 | + </packing> |
| 170 | + </child> |
| 171 | + <child> |
| 172 | + <object class="GtkButton" id="button1"> |
| 173 | + <property name="label">gtk-close</property> |
| 174 | + <property name="visible">True</property> |
| 175 | + <property name="can_focus">True</property> |
| 176 | + <property name="can_default">True</property> |
| 177 | + <property name="receives_default">False</property> |
| 178 | + <property name="use_stock">True</property> |
| 179 | + <signal name="clicked" handler="gtk_main_quit"/> |
| 180 | + </object> |
| 181 | + <packing> |
| 182 | + <property name="expand">False</property> |
| 183 | + <property name="fill">False</property> |
| 184 | + <property name="position">1</property> |
| 185 | + </packing> |
| 186 | + </child> |
| 187 | + </object> |
| 188 | + <packing> |
| 189 | + <property name="expand">False</property> |
| 190 | + <property name="fill">False</property> |
| 191 | + <property name="pack_type">end</property> |
| 192 | + <property name="position">0</property> |
| 193 | + </packing> |
| 194 | + </child> |
205 | 195 | </object> |
206 | 196 | </child> |
207 | 197 | <action-widgets> |
208 | 198 | <action-widget response="0">ok-button</action-widget> |
209 | 199 | <action-widget response="-7">button1</action-widget> |
210 | 200 | </action-widgets> |
211 | | - <child> |
212 | | - <placeholder/> |
213 | | - </child> |
214 | 201 | </object> |
215 | 202 | </interface> |
0 commit comments