[gtk+] Add GtkSwitch to widget-factory



commit 6b510f485571205a22a646a29bddb992ec6480b3
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Oct 20 22:15:41 2011 -0400

    Add GtkSwitch to widget-factory

 tests/widget-factory.ui |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)
---
diff --git a/tests/widget-factory.ui b/tests/widget-factory.ui
index 9452f8e..ec95f2d 100644
--- a/tests/widget-factory.ui
+++ b/tests/widget-factory.ui
@@ -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>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]