[glade] GtkPopover: Integrating new properties



commit 9eb15655c6fad2616a803b9af9479f8f8f9be003
Author: Tristan Van Berkom <tristan vanberkom codethink co uk>
Date:   Fri Jan 29 13:23:18 2016 +0100

    GtkPopover: Integrating new properties

 plugins/gtk+/glade-popover-editor.ui |   61 +++++++++++++++++++++++++--------
 plugins/gtk+/gtk+.xml.in             |    9 +++++
 2 files changed, 55 insertions(+), 15 deletions(-)
---
diff --git a/plugins/gtk+/glade-popover-editor.ui b/plugins/gtk+/glade-popover-editor.ui
index 69219f3..2178664 100644
--- a/plugins/gtk+/glade-popover-editor.ui
+++ b/plugins/gtk+/glade-popover-editor.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.16.0 
+<!-- Generated with glade 3.19.0 
 
 libgladegtk - Glade UI Designer Gtk+ support plugin
 Copyright (C) 2014 Red Hat, Inc.
@@ -43,7 +43,6 @@ Author: Matthias Clasen <mclasen redhat com>
             <property name="left_attach">0</property>
             <property name="top_attach">0</property>
             <property name="width">6</property>
-            <property name="height">1</property>
           </packing>
         </child>
         <child>
@@ -61,13 +60,13 @@ Author: Matthias Clasen <mclasen redhat com>
             <property name="left_attach">0</property>
             <property name="top_attach">1</property>
             <property name="width">6</property>
-            <property name="height">1</property>
           </packing>
         </child>
         <child>
           <object class="GladePropertyLabel" id="relative_to_label">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
+            <property name="halign">end</property>
             <property name="margin_left">12</property>
             <property name="hexpand">False</property>
             <property name="property_name">relative-to</property>
@@ -88,20 +87,21 @@ Author: Matthias Clasen <mclasen redhat com>
           <packing>
             <property name="left_attach">2</property>
             <property name="top_attach">2</property>
-            <property name="width">4</property>
+            <property name="width">3</property>
           </packing>
         </child>
         <child>
           <object class="GladePropertyLabel" id="position_label">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
+            <property name="halign">end</property>
             <property name="margin_left">12</property>
             <property name="hexpand">False</property>
             <property name="property_name">position</property>
           </object>
           <packing>
             <property name="left_attach">0</property>
-            <property name="top_attach">3</property>
+            <property name="top_attach">4</property>
             <property name="width">2</property>
           </packing>
         </child>
@@ -114,37 +114,66 @@ Author: Matthias Clasen <mclasen redhat com>
           </object>
           <packing>
             <property name="left_attach">2</property>
-            <property name="top_attach">3</property>
-            <property name="width">4</property>
+            <property name="top_attach">4</property>
+            <property name="width">3</property>
           </packing>
         </child>
         <child>
-          <object class="GladePropertyLabel" id="modal_label">
+          <object class="GladePropertyLabel" id="constrain_to_label">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
-            <property name="margin_left">12</property>
+            <property name="halign">end</property>
             <property name="hexpand">False</property>
-            <property name="property_name">modal</property>
+            <property name="property_name">constrain-to</property>
           </object>
           <packing>
             <property name="left_attach">0</property>
-            <property name="top_attach">4</property>
+            <property name="top_attach">3</property>
             <property name="width">2</property>
           </packing>
         </child>
         <child>
+          <object class="GladePropertyShell" id="constrain_to_editor">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="hexpand">False</property>
+            <property name="property_name">constrain-to</property>
+          </object>
+          <packing>
+            <property name="left_attach">2</property>
+            <property name="top_attach">3</property>
+            <property name="width">3</property>
+          </packing>
+        </child>
+        <child>
           <object class="GladePropertyShell" id="modal_editor">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="hexpand">False</property>
             <property name="property_name">modal</property>
+            <property name="editor_type">GladeEPropCheck</property>
           </object>
           <packing>
-            <property name="left_attach">2</property>
-            <property name="top_attach">4</property>
-            <property name="width">4</property>
+            <property name="left_attach">5</property>
+            <property name="top_attach">2</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GladePropertyShell" id="transition_editor">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="hexpand">False</property>
+            <property name="property_name">transitions-enabled</property>
+            <property name="editor_type">GladeEpropCheck</property>
+          </object>
+          <packing>
+            <property name="left_attach">5</property>
+            <property name="top_attach">3</property>
           </packing>
         </child>
+        <child>
+          <placeholder/>
+        </child>
       </object>
       <packing>
         <property name="expand">False</property>
@@ -158,8 +187,10 @@ Author: Matthias Clasen <mclasen redhat com>
       <editor id="relative_to_editor"/>
       <editor id="position_label"/>
       <editor id="position_editor"/>
-      <editor id="modal_label"/>
+      <editor id="constrain_to_label"/>
+      <editor id="constrain_to_editor"/>
       <editor id="modal_editor"/>
+      <editor id="transition_editor"/>
     </child-editors>
   </template>
 </interface>
diff --git a/plugins/gtk+/gtk+.xml.in b/plugins/gtk+/gtk+.xml.in
index a449aae..4e0ce3d 100644
--- a/plugins/gtk+/gtk+.xml.in
+++ b/plugins/gtk+/gtk+.xml.in
@@ -3475,7 +3475,16 @@
         <properties>
           <property id="visible" default="False"/>
           <property id="relative-to" ignore="True" custom-layout="True"/>
+          <property id="constrain-to" ignore="True" custom-layout="True" since="3.20">
+            <displayable-values>
+              <!-- GtkPopoverConstraint enumeration value -->
+              <value id="GTK_POPOVER_CONSTRAINT_NONE" _name="None"/>
+              <!-- GtkPopoverConstraint enumeration value -->
+              <value id="GTK_POPOVER_CONSTRAINT_WINDOW" _name="Window"/>
+            </displayable-values>
+         </property>
           <property id="position" ignore="True" custom-layout="True"/>
+          <property id="transitions-enabled" ignore="True" custom-layout="True" since="3.16"/>
           <property id="modal" ignore="True" custom-layout="True"/>
         </properties>
       </glade-widget-class>


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