Commit ff2418bf6ca430be9226ff1cbf3b9ad882dd425c
1 parent
eb8ba9eb
Exists in
master
and in
1 other branch
Testing glade support.
Showing
2 changed files
with
19 additions
and
21 deletions
Show diff stats
.gitignore
glade/widget-test.glade
... | ... | @@ -3,7 +3,9 @@ |
3 | 3 | <interface> |
4 | 4 | <requires lib="gtk+" version="3.20"/> |
5 | 5 | <requires lib="v3270-5.2" version="0.50"/> |
6 | - <object class="GtkWindow"> | |
6 | + <object class="GtkApplicationWindow"> | |
7 | + <property name="width_request">800</property> | |
8 | + <property name="height_request">600</property> | |
7 | 9 | <property name="can_focus">False</property> |
8 | 10 | <child> |
9 | 11 | <object class="GtkBox"> |
... | ... | @@ -168,30 +170,26 @@ |
168 | 170 | </packing> |
169 | 171 | </child> |
170 | 172 | <child> |
171 | - <object class="GtkButtonBox"> | |
173 | + <object class="GtkToolbar"> | |
172 | 174 | <property name="visible">True</property> |
173 | 175 | <property name="can_focus">False</property> |
174 | - <property name="hexpand">False</property> | |
175 | - <property name="layout_style">start</property> | |
176 | 176 | <child> |
177 | - <placeholder/> | |
178 | - </child> | |
179 | - <child> | |
180 | - <placeholder/> | |
181 | - </child> | |
182 | - <child> | |
183 | - <placeholder/> | |
184 | - </child> | |
185 | - <child> | |
186 | - <placeholder/> | |
187 | - </child> | |
188 | - <child> | |
189 | - <placeholder/> | |
177 | + <object class="GtkToolButton"> | |
178 | + <property name="visible">True</property> | |
179 | + <property name="can_focus">False</property> | |
180 | + <property name="label" translatable="yes">Connect</property> | |
181 | + <property name="use_underline">True</property> | |
182 | + <property name="stock_id">gtk-connect</property> | |
183 | + </object> | |
184 | + <packing> | |
185 | + <property name="expand">False</property> | |
186 | + <property name="homogeneous">True</property> | |
187 | + </packing> | |
190 | 188 | </child> |
191 | 189 | </object> |
192 | 190 | <packing> |
193 | 191 | <property name="expand">False</property> |
194 | - <property name="fill">False</property> | |
192 | + <property name="fill">True</property> | |
195 | 193 | <property name="position">1</property> |
196 | 194 | </packing> |
197 | 195 | </child> |
... | ... | @@ -201,11 +199,10 @@ |
201 | 199 | <property name="can_focus">True</property> |
202 | 200 | <property name="can_default">True</property> |
203 | 201 | <property name="model">3279-2-E</property> |
202 | + <property name="url"/> | |
204 | 203 | <property name="cursorblink">True</property> |
205 | 204 | <property name="showtiming">True</property> |
206 | 205 | <property name="cursorpos">True</property> |
207 | - <property name="reconnect">True</property> | |
208 | - <property name="autoconnect">True</property> | |
209 | 206 | <property name="beep">True</property> |
210 | 207 | <property name="altscreen">True</property> |
211 | 208 | <property name="keepalive">True</property> |
... | ... | @@ -218,7 +215,7 @@ |
218 | 215 | </child> |
219 | 216 | </object> |
220 | 217 | </child> |
221 | - <child type="titlebar"> | |
218 | + <child> | |
222 | 219 | <placeholder/> |
223 | 220 | </child> |
224 | 221 | </object> | ... | ... |