Commit ff2418bf6ca430be9226ff1cbf3b9ad882dd425c

Authored by Perry Werneck
1 parent eb8ba9eb
Exists in master and in 1 other branch develop

Testing glade support.

Showing 2 changed files with 19 additions and 21 deletions   Show diff stats
@@ -49,3 +49,4 @@ scripts @@ -49,3 +49,4 @@ scripts
49 vgcore.* 49 vgcore.*
50 doxygen/doxyfile 50 doxygen/doxyfile
51 glade/v3270.xml 51 glade/v3270.xml
  52 +*test.glade*
glade/widget-test.glade
@@ -3,7 +3,9 @@ @@ -3,7 +3,9 @@
3 <interface> 3 <interface>
4 <requires lib="gtk+" version="3.20"/> 4 <requires lib="gtk+" version="3.20"/>
5 <requires lib="v3270-5.2" version="0.50"/> 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 <property name="can_focus">False</property> 9 <property name="can_focus">False</property>
8 <child> 10 <child>
9 <object class="GtkBox"> 11 <object class="GtkBox">
@@ -168,30 +170,26 @@ @@ -168,30 +170,26 @@
168 </packing> 170 </packing>
169 </child> 171 </child>
170 <child> 172 <child>
171 - <object class="GtkButtonBox"> 173 + <object class="GtkToolbar">
172 <property name="visible">True</property> 174 <property name="visible">True</property>
173 <property name="can_focus">False</property> 175 <property name="can_focus">False</property>
174 - <property name="hexpand">False</property>  
175 - <property name="layout_style">start</property>  
176 <child> 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 </child> 188 </child>
191 </object> 189 </object>
192 <packing> 190 <packing>
193 <property name="expand">False</property> 191 <property name="expand">False</property>
194 - <property name="fill">False</property> 192 + <property name="fill">True</property>
195 <property name="position">1</property> 193 <property name="position">1</property>
196 </packing> 194 </packing>
197 </child> 195 </child>
@@ -201,11 +199,10 @@ @@ -201,11 +199,10 @@
201 <property name="can_focus">True</property> 199 <property name="can_focus">True</property>
202 <property name="can_default">True</property> 200 <property name="can_default">True</property>
203 <property name="model">3279-2-E</property> 201 <property name="model">3279-2-E</property>
  202 + <property name="url"/>
204 <property name="cursorblink">True</property> 203 <property name="cursorblink">True</property>
205 <property name="showtiming">True</property> 204 <property name="showtiming">True</property>
206 <property name="cursorpos">True</property> 205 <property name="cursorpos">True</property>
207 - <property name="reconnect">True</property>  
208 - <property name="autoconnect">True</property>  
209 <property name="beep">True</property> 206 <property name="beep">True</property>
210 <property name="altscreen">True</property> 207 <property name="altscreen">True</property>
211 <property name="keepalive">True</property> 208 <property name="keepalive">True</property>
@@ -218,7 +215,7 @@ @@ -218,7 +215,7 @@
218 </child> 215 </child>
219 </object> 216 </object>
220 </child> 217 </child>
221 - <child type="titlebar"> 218 + <child>
222 <placeholder/> 219 <placeholder/>
223 </child> 220 </child>
224 </object> 221 </object>