summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Noël <corentin@elementary.io>2019-09-13 13:06:30 +0000
committerAlberto Fanjul <albertofanjul@gmail.com>2019-09-13 13:06:30 +0000
commit6054540957a0ae431f6b1aca7e9baa85fa52e6d1 (patch)
tree40d6c950eaf85de126745df9e3f7559b5cde97be
parentc5d4c4eb22a18c67eb79948318a53320e6517098 (diff)
downloadglade-6054540957a0ae431f6b1aca7e9baa85fa52e6d1.tar.gz
gtk+: Provide Gtk 3.22 properties for GtkScrolledWindow
-rw-r--r--plugins/gtk+/glade-scrolled-window-editor.ui205
-rw-r--r--plugins/gtk+/gtk+.xml4
2 files changed, 150 insertions, 59 deletions
diff --git a/plugins/gtk+/glade-scrolled-window-editor.ui b/plugins/gtk+/glade-scrolled-window-editor.ui
index 04ce53e0..41af2a52 100644
--- a/plugins/gtk+/glade-scrolled-window-editor.ui
+++ b/plugins/gtk+/glade-scrolled-window-editor.ui
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.18.1
+<!-- Generated with glade 3.22.0
libgladegtk - Glade UI Designer Gtk+ support plugin
Copyright (C) 2013 Tristan Van Berkom <tvb@gnome.org>
@@ -42,7 +42,7 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
- <property name="width">6</property>
+ <property name="width">4</property>
</packing>
</child>
<child>
@@ -59,7 +59,7 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">1</property>
- <property name="width">6</property>
+ <property name="width">4</property>
</packing>
</child>
<child>
@@ -73,7 +73,7 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">2</property>
- <property name="width">3</property>
+ <property name="width">2</property>
</packing>
</child>
<child>
@@ -84,7 +84,7 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<property name="property_name">shadow-type</property>
</object>
<packing>
- <property name="left_attach">3</property>
+ <property name="left_attach">2</property>
<property name="top_attach">2</property>
<property name="width">2</property>
</packing>
@@ -102,7 +102,7 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">3</property>
- <property name="width">3</property>
+ <property name="width">2</property>
</packing>
</child>
<child>
@@ -112,7 +112,7 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<property name="property_name">window-placement</property>
</object>
<packing>
- <property name="left_attach">3</property>
+ <property name="left_attach">2</property>
<property name="top_attach">3</property>
<property name="width">2</property>
</packing>
@@ -129,7 +129,7 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">4</property>
- <property name="width">3</property>
+ <property name="width">2</property>
</packing>
</child>
<child>
@@ -143,7 +143,7 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">5</property>
- <property name="width">3</property>
+ <property name="width">2</property>
</packing>
</child>
<child>
@@ -154,7 +154,7 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<property name="property_name">min-content-width</property>
</object>
<packing>
- <property name="left_attach">3</property>
+ <property name="left_attach">2</property>
<property name="top_attach">5</property>
<property name="width">2</property>
</packing>
@@ -170,7 +170,7 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">6</property>
- <property name="width">3</property>
+ <property name="width">2</property>
</packing>
</child>
<child>
@@ -181,12 +181,120 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<property name="property_name">min-content-height</property>
</object>
<packing>
- <property name="left_attach">3</property>
+ <property name="left_attach">2</property>
<property name="top_attach">6</property>
<property name="width">2</property>
</packing>
</child>
<child>
+ <object class="GladePropertyLabel" id="max_content_width_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="margin_left">12</property>
+ <property name="hexpand">False</property>
+ <property name="property_name">max-content-width</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">7</property>
+ <property name="width">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GladePropertyShell" id="max_content_width_editor">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">False</property>
+ <property name="property_name">max-content-width</property>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="top_attach">7</property>
+ <property name="width">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GladePropertyLabel" id="max_content_height_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="margin_left">12</property>
+ <property name="hexpand">False</property>
+ <property name="property_name">max-content-height</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">8</property>
+ <property name="width">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GladePropertyShell" id="max_content_height_editor">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">False</property>
+ <property name="property_name">max-content-height</property>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="top_attach">8</property>
+ <property name="width">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GladePropertyLabel" id="propagate_natural_width_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="margin_left">12</property>
+ <property name="hexpand">False</property>
+ <property name="property_name">propagate-natural-width</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">9</property>
+ <property name="width">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GladePropertyShell" id="propagate_natural_width_editor">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">False</property>
+ <property name="property_name">propagate-natural-width</property>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="top_attach">9</property>
+ <property name="width">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GladePropertyLabel" id="propagate_natural_height_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="margin_left">12</property>
+ <property name="hexpand">False</property>
+ <property name="property_name">propagate-natural-height</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">10</property>
+ <property name="width">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GladePropertyShell" id="propagate_natural_height_editor">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">False</property>
+ <property name="property_name">propagate-natural-height</property>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="top_attach">10</property>
+ <property name="width">2</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkLabel" id="htitle">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -201,7 +309,7 @@ Author: Tristan Van Berkom <tvb@gnome.org>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">7</property>
+ <property name="top_attach">11</property>
<property name="width">2</property>
</packing>
</child>
@@ -218,8 +326,8 @@ Author: Tristan Van Berkom <tvb@gnome.org>
</attributes>
</object>
<packing>
- <property name="left_attach">3</property>
- <property name="top_attach">7</property>
+ <property name="left_attach">2</property>
+ <property name="top_attach">11</property>
<property name="width">2</property>
</packing>
</child>
@@ -233,8 +341,7 @@ Author: Tristan Van Berkom <tvb@gnome.org>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">8</property>
- <property name="width">2</property>
+ <property name="top_attach">12</property>
</packing>
</child>
<child>
@@ -244,8 +351,8 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<property name="property_name">hscrollbar-policy</property>
</object>
<packing>
- <property name="left_attach">2</property>
- <property name="top_attach">8</property>
+ <property name="left_attach">1</property>
+ <property name="top_attach">12</property>
</packing>
</child>
<child>
@@ -257,8 +364,8 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<property name="custom_text" translatable="yes">Scrollbar Policy:</property>
</object>
<packing>
- <property name="left_attach">3</property>
- <property name="top_attach">8</property>
+ <property name="left_attach">2</property>
+ <property name="top_attach">12</property>
</packing>
</child>
<child>
@@ -268,8 +375,8 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<property name="property_name">vscrollbar-policy</property>
</object>
<packing>
- <property name="left_attach">4</property>
- <property name="top_attach">8</property>
+ <property name="left_attach">3</property>
+ <property name="top_attach">12</property>
</packing>
</child>
<child>
@@ -282,8 +389,7 @@ Author: Tristan Van Berkom <tvb@gnome.org>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">9</property>
- <property name="width">2</property>
+ <property name="top_attach">13</property>
</packing>
</child>
<child>
@@ -295,8 +401,8 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<property name="custom_text" translatable="yes">Adjustment:</property>
</object>
<packing>
- <property name="left_attach">3</property>
- <property name="top_attach">9</property>
+ <property name="left_attach">2</property>
+ <property name="top_attach">13</property>
</packing>
</child>
<child>
@@ -306,8 +412,8 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<property name="property_name">hadjustment</property>
</object>
<packing>
- <property name="left_attach">2</property>
- <property name="top_attach">9</property>
+ <property name="left_attach">1</property>
+ <property name="top_attach">13</property>
</packing>
</child>
<child>
@@ -317,8 +423,8 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<property name="property_name">vadjustment</property>
</object>
<packing>
- <property name="left_attach">4</property>
- <property name="top_attach">9</property>
+ <property name="left_attach">3</property>
+ <property name="top_attach">13</property>
</packing>
</child>
<child>
@@ -330,38 +436,11 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<property name="editor_type">GladeEpropCheck</property>
</object>
<packing>
- <property name="left_attach">3</property>
+ <property name="left_attach">2</property>
<property name="top_attach">4</property>
<property name="width">2</property>
</packing>
</child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
- <child>
- <placeholder/>
- </child>
</object>
<packing>
<property name="expand">False</property>
@@ -380,6 +459,14 @@ Author: Tristan Van Berkom <tvb@gnome.org>
<editor id="content_width_editor"/>
<editor id="content_height_label"/>
<editor id="content_height_editor"/>
+ <editor id="max_content_width_label"/>
+ <editor id="max_content_width_editor"/>
+ <editor id="max_content_height_label"/>
+ <editor id="max_content_height_editor"/>
+ <editor id="propagate_natural_width_label"/>
+ <editor id="propagate_natural_width_editor"/>
+ <editor id="propagate_natural_height_label"/>
+ <editor id="propagate_natural_height_editor"/>
<editor id="hpolicy_label"/>
<editor id="hpolicy_editor"/>
<editor id="vpolicy_label"/>
diff --git a/plugins/gtk+/gtk+.xml b/plugins/gtk+/gtk+.xml
index 29a6e4af..4b3f2ad0 100644
--- a/plugins/gtk+/gtk+.xml
+++ b/plugins/gtk+/gtk+.xml
@@ -3236,6 +3236,10 @@
<property id="shadow-type" default="GTK_SHADOW_IN" custom-layout="True"/>
<property id="min-content-width" since="3.0" custom-layout="True"/>
<property id="min-content-height" since="3.0" custom-layout="True"/>
+ <property id="max-content-width" since="3.22" custom-layout="True"/>
+ <property id="max-content-height" since="3.22" custom-layout="True"/>
+ <property id="propagate-natural-height" since="3.22" custom-layout="True"/>
+ <property id="propagate-natural-height" since="3.22" custom-layout="True"/>
<property id="window-placement-set" since="2.10" needs-sync="True" custom-layout="True"/>
<property id="hscrollbar-policy" default="GTK_POLICY_AUTOMATIC" custom-layout="True">
<displayable-values>