[POS-commit] r249 - libglade/examples

Johan Dahlin jdahlin at async.com.br
Thu Mar 31 10:19:47 BRT 2005


Author: jdahlin
Date: 2005-03-31 10:19:46 -0300 (Thu, 31 Mar 2005)
New Revision: 249

Added:
   libglade/examples/sizegroup.glade
Log:
add sizegroup example

Added: libglade/examples/sizegroup.glade
===================================================================
--- libglade/examples/sizegroup.glade	2005-03-31 13:19:35 UTC (rev 248)
+++ libglade/examples/sizegroup.glade	2005-03-31 13:19:46 UTC (rev 249)
@@ -0,0 +1,73 @@
+<?xml version="1.0" ?>
+<glade-interface>
+    <object class="GtkSizeGroup" id="sizegroup1">
+      <property name="mode">GTK_SIZE_GROUP_HORIZONTAL</property>
+    </object>
+
+    <object class="GtkWindow" id="window1">
+        <property name="title" translatable="True"></property>
+        <property name="role"></property>
+        <property name="visible">True</property>
+        <child>
+            <object class="GtkVBox" id="vbox1">
+                <property name="visible">True</property>
+                <child>
+                    <object class="GtkHBox" id="hbox1">
+                        <property name="visible">True</property>
+                        <child>
+                            <object class="GtkLabel" id="label">
+                                <property name="pattern" translatable="True"></property>
+                                <property name="label" translatable="True">Name</property>
+                                <property name="sizegroup">sizegroup1</property>
+                                <property name="visible">True</property>
+                            </object>
+                            <packing>
+                                <property name="expand">False</property>
+                                <property name="fill">False</property>
+                            </packing>
+                        </child>
+                        <child>
+                            <object class="GtkEntry" id="entry1">
+                                <property name="can_focus">True</property>
+                                <property name="visible">True</property>
+                            </object>
+                            <packing>
+                                <property name="position">1</property>
+                            </packing>
+                        </child>
+                    </object>
+                    <packing/>
+                </child>
+                <child>
+                    <object class="GtkHBox" id="hbox2">
+                        <property name="visible">True</property>
+                        <child>
+                            <object class="GtkLabel" id="label2">
+                                <property name="pattern" translatable="True"></property>
+                                <property name="label" translatable="True">Date of birth</property>
+                                <property name="visible">True</property>
+                                <property name="sizegroup">sizegroup1</property>
+                            </object>
+                            <packing>
+                                <property name="expand">False</property>
+                                <property name="fill">False</property>
+                            </packing>
+                        </child>
+                        <child>
+                            <object class="GtkEntry" id="entry2">
+                                <property name="can_focus">True</property>
+                                <property name="visible">True</property>
+                            </object>
+                            <packing>
+                                <property name="position">1</property>
+                            </packing>
+                        </child>
+                    </object>
+                    <packing>
+                        <property name="position">1</property>
+                    </packing>
+                </child>
+            </object>
+        </child>
+    </object>
+</glade-interface>



More information about the POS-commit mailing list