[gtk+] widget-factory: Add myself



commit d10bd41e43acaac31b4ccf41331659ca0df3c61b
Author: Benjamin Otte <otte redhat com>
Date:   Mon Feb 15 18:06:28 2016 +0100

    widget-factory: Add myself
    
    Actually, I wanted to have a radio toggle cell renderer for testing. But
    hey, the commit message is supposed to say the important things!

 demos/widget-factory/widget-factory.ui |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index ec2cd60..a8df03a 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -128,6 +128,8 @@
       <column type="gchararray"/>
       <!-- column-name Nick -->
       <column type="gchararray"/>
+      <!-- column-name isRadio -->
+      <column type="gboolean"/>
     </columns>
     <data>
       <row>
@@ -135,18 +137,28 @@
         <col id="1">emblem-default-symbolic</col>
         <col id="2" translatable="yes">Andrea</col>
         <col id="3" translatable="yes">Cimi</col>
+        <col id="4">False</col>
       </row>
       <row>
         <col id="0">False</col>
         <col id="1">emblem-important-symbolic</col>
         <col id="2" translatable="yes">Otto</col>
         <col id="3" translatable="yes">chaotic</col>
+        <col id="4">False</col>
       </row>
       <row>
         <col id="0">True</col>
         <col id="1">weather-clear-night-symbolic</col>
         <col id="2" translatable="yes">Orville</col>
         <col id="3" translatable="yes">Redenbacher</col>
+        <col id="4">False</col>
+      </row>
+      <row>
+        <col id="0">True</col>
+        <col id="1">face-monkey-symbolic</col>
+        <col id="2" translatable="yes">Benjamin</col>
+        <col id="3" translatable="yes">Company</col>
+        <col id="4">True</col>
       </row>
     </data>
   </object>
@@ -1385,6 +1397,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
                                       <object class="GtkCellRendererToggle" id="cellrenderertoggle1"/>
                                       <attributes>
                                         <attribute name="active">0</attribute>
+                                        <attribute name="radio">4</attribute>
                                       </attributes>
                                     </child>
                                   </object>


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