[gtk+/gtk-3-22] widget-factory: Usefully demo Frame shadow types
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] widget-factory: Usefully demo Frame shadow types
- Date: Thu, 14 Sep 2017 17:47:23 +0000 (UTC)
commit 15a3747406b7762518a5e573099786befb7b599d
Author: Daniel Boles <dboles src gnome org>
Date: Wed Sep 13 14:37:38 2017 +0100
widget-factory: Usefully demo Frame shadow types
Instead of showing the 4 types except for GTK_SHADOW_NONE, which are all
treated identically and provide no way for themes to differentiate, just
keep 2 Frames, and make one of them GTK_SHADOW_NONE to demo a flat Frame
demos/widget-factory/widget-factory.ui | 39 ++-----------------------------
1 files changed, 3 insertions(+), 36 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index 5fcf9b5..49afd09 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -1305,7 +1305,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
<child type="label">
<object class="GtkLabel" id="label1">
<property name="visible">1</property>
- <property name="label" translatable="yes"><b>In</b></property>
+ <property name="label"
translatable="yes"><b>Shadow</b></property>
<property name="use_markup">1</property>
</object>
</child>
@@ -1317,11 +1317,11 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
<child>
<object class="GtkFrame" id="frame2">
<property name="visible">1</property>
- <property name="shadow_type">out</property>
+ <property name="shadow_type">none</property>
<child type="label">
<object class="GtkLabel" id="label2">
<property name="visible">1</property>
- <property name="label" translatable="yes"><b>Out</b></property>
+ <property name="label" translatable="yes"><b>No
shadow</b></property>
<property name="use_markup">1</property>
</object>
</child>
@@ -1331,39 +1331,6 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
<property name="position">1</property>
</packing>
</child>
- <child>
- <object class="GtkFrame" id="frame3">
- <property name="visible">1</property>
- <child type="label">
- <object class="GtkLabel" id="label17">
- <property name="visible">1</property>
- <property name="label" translatable="yes"><b>Etched
in</b></property>
- <property name="use_markup">1</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="expand">1</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkFrame" id="frame4">
- <property name="visible">1</property>
- <property name="shadow_type">etched-out</property>
- <child type="label">
- <object class="GtkLabel" id="label18">
- <property name="visible">1</property>
- <property name="label" translatable="yes"><b>Etched
out</b></property>
- <property name="use_markup">1</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="expand">1</property>
- <property name="position">3</property>
- </packing>
- </child>
</object>
<packing>
<property name="expand">1</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]