]> git.llucax.com Git - z.facultad/75.10/miklolife.git/commitdiff
Conecto un par de señales más para poder salir bien y cambio tamaño por default
authorLeandro Lucarella <llucax@gmail.com>
Wed, 15 Jun 2005 14:07:38 +0000 (14:07 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Wed, 15 Jun 2005 14:07:38 +0000 (14:07 +0000)
en el glade.

demo/glade/main.glade
demo/src/Main.cs

index 1f1776106134774285ddb7b1483d34a1cd1b6d1f..cb5c3d8f63836eabe0f821fd114faff54ec1259c 100644 (file)
@@ -9,6 +9,8 @@
   <property name="type">GTK_WINDOW_TOPLEVEL</property>
   <property name="window_position">GTK_WIN_POS_NONE</property>
   <property name="modal">False</property>
   <property name="type">GTK_WINDOW_TOPLEVEL</property>
   <property name="window_position">GTK_WIN_POS_NONE</property>
   <property name="modal">False</property>
+  <property name="default_width">400</property>
+  <property name="default_height">200</property>
   <property name="resizable">True</property>
   <property name="destroy_with_parent">False</property>
   <property name="decorated">True</property>
   <property name="resizable">True</property>
   <property name="destroy_with_parent">False</property>
   <property name="decorated">True</property>
@@ -16,6 +18,7 @@
   <property name="skip_pager_hint">False</property>
   <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
   <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
   <property name="skip_pager_hint">False</property>
   <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
   <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <signal name="destroy" handler="OnSalirActivate" last_modification_time="Wed, 15 Jun 2005 13:56:21 GMT"/>
 
   <child>
     <widget class="GtkVBox" id="vbox1">
 
   <child>
     <widget class="GtkVBox" id="vbox1">
@@ -121,6 +124,7 @@ Solicitud</property>
              <property name="visible_horizontal">True</property>
              <property name="visible_vertical">True</property>
              <property name="is_important">False</property>
              <property name="visible_horizontal">True</property>
              <property name="visible_vertical">True</property>
              <property name="is_important">False</property>
+             <signal name="clicked" handler="OnSalirActivate" last_modification_time="Wed, 15 Jun 2005 13:47:04 GMT"/>
            </widget>
            <packing>
              <property name="expand">False</property>
            </widget>
            <packing>
              <property name="expand">False</property>
index b7400b9b1320c6e588e236ba13134ad69a88b028..56637c56585f6f53e0d22d210db6bd23fdd9321e 100644 (file)
@@ -23,9 +23,6 @@ public class App
 
                Glade.XML gxml = new Glade.XML (null, "main.glade", "main", null);
                gxml.Autoconnect (this);
 
                Glade.XML gxml = new Glade.XML (null, "main.glade", "main", null);
                gxml.Autoconnect (this);
-               Widget w = gxml.GetWidget ("main");
-               
-               w.SetSizeRequest (450, 250);
 
                InitDemo ();
                Application.Run();
 
                InitDemo ();
                Application.Run();