]> Pileus Git - ~andy/gtk/commitdiff
Add GtkSwitch to widget-factory
authorMatthias Clasen <mclasen@redhat.com>
Fri, 21 Oct 2011 02:15:41 +0000 (22:15 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Oct 2011 02:15:41 +0000 (22:15 -0400)
tests/widget-factory.ui

index 9452f8e882d6aef811968e1c0508f4a02ca29f4d..ec95f2d73f3f2d0ea90b1a7f82cf0cf80b200989 100644 (file)
@@ -867,6 +867,30 @@ Suspendisse feugiat quam quis dolor accumsan cursus. </property>
                         <property name="height">1</property>
                       </packing>
                     </child>
+                    <child>
+                      <object class="GtkSwitch" id="switch1">
+                        <property name="visible">True</property>
+                        <property name="sensitive">True</property>
+                      </object>
+                      <packing>
+                        <property name="left_attach">0</property>
+                        <property name="top_attach">6</property>
+                        <property name="width">1</property>
+                        <property name="height">1</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GtkSwitch" id="switch2">
+                        <property name="visible">True</property>
+                        <property name="sensitive">False</property>
+                      </object>
+                      <packing>
+                        <property name="left_attach">1</property>
+                        <property name="top_attach">6</property>
+                        <property name="width">1</property>
+                        <property name="height">1</property>
+                      </packing>
+                    </child>
                   </object>
                   <packing>
                     <property name="expand">False</property>