diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-02-07 03:23:02 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-02-08 00:09:44 -0500 |
commit | 4ace873046fe7bab6f2678c9307f6e2a28f9ff90 (patch) | |
tree | 1bcc259348fae8034ec040f171249e13d72e9564 /demos/gtk-demo/blendmodes.ui | |
parent | 72b6644223af1f6ea2bc270204563433e28cf854 (diff) | |
download | gtk+-4ace873046fe7bab6f2678c9307f6e2a28f9ff90.tar.gz |
Update ui files to new stack syntax
This conversion was done with the help of gtk4-builder-tool.
Diffstat (limited to 'demos/gtk-demo/blendmodes.ui')
-rw-r--r-- | demos/gtk-demo/blendmodes.ui | 510 |
1 files changed, 257 insertions, 253 deletions
diff --git a/demos/gtk-demo/blendmodes.ui b/demos/gtk-demo/blendmodes.ui index 168b4b22b6..b735e7394f 100644 --- a/demos/gtk-demo/blendmodes.ui +++ b/demos/gtk-demo/blendmodes.ui @@ -1,4 +1,3 @@ -<?xml version="1.0" encoding="UTF-8"?> <interface> <requires lib="gtk+" version="3.20"/> <object class="GtkWindow" id="window"> @@ -54,269 +53,275 @@ <property name="vhomogeneous">0</property> <property name="transition-type">crossfade</property> <child> - <object class="GtkGrid"> - <property name="halign">center</property> - <property name="valign">center</property> - <property name="vexpand">1</property> - <property name="row-spacing">12</property> - <property name="column-spacing">12</property> - <child> - <object class="GtkLabel"> - <property name="label" translatable="yes">Duck</property> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">0</property> - </packing> - </child> - <child> - <object class="GtkLabel"> - <property name="label" translatable="yes">Background</property> - </object> - <packing> - <property name="left-attach">1</property> - <property name="top-attach">0</property> - </packing> - </child> - <child> - <object class="GtkImage"> - <style> - <class name="duck"/> - </style> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">1</property> - </packing> - </child> - <child> - <object class="GtkImage"> - <style> - <class name="gradient"/> - </style> - </object> - <packing> - <property name="left-attach">1</property> - <property name="top-attach">1</property> - </packing> - </child> - <child> - <object class="GtkLabel"> - <property name="label" translatable="yes"> -Blended picture</property> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">2</property> - <property name="width">2</property> - </packing> - </child> - <child> - <object class="GtkImage"> + <object class="GtkStackPage"> + <property name="name">page0</property> + <property name="title" translatable="yes">Ducky</property> + <property name="child"> + <object class="GtkGrid"> <property name="halign">center</property> - <style> - <class name="blend0"/> - </style> + <property name="valign">center</property> + <property name="vexpand">1</property> + <property name="row-spacing">12</property> + <property name="column-spacing">12</property> + <child> + <object class="GtkLabel"> + <property name="label" translatable="yes">Duck</property> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="label" translatable="yes">Background</property> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">0</property> + </packing> + </child> + <child> + <object class="GtkImage"> + <style> + <class name="duck"/> + </style> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">1</property> + </packing> + </child> + <child> + <object class="GtkImage"> + <style> + <class name="gradient"/> + </style> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="label" translatable="yes"> +Blended picture</property> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">2</property> + <property name="width">2</property> + </packing> + </child> + <child> + <object class="GtkImage"> + <property name="halign">center</property> + <style> + <class name="blend0"/> + </style> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">3</property> + <property name="width">2</property> + </packing> + </child> </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">3</property> - <property name="width">2</property> - </packing> - </child> + </property> </object> - <packing> - <property name="name">page0</property> - <property name="title" translatable="yes">Ducky</property> - </packing> </child> <child> - <object class="GtkGrid"> - <property name="halign">center</property> - <property name="valign">center</property> - <property name="vexpand">1</property> - <property name="row-spacing">12</property> - <property name="column-spacing">12</property> - <child> - <object class="GtkLabel"> - <property name="label" translatable="yes">Red</property> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">0</property> - </packing> - </child> - <child> - <object class="GtkLabel"> - <property name="label" translatable="yes">Blue</property> - </object> - <packing> - <property name="left-attach">1</property> - <property name="top-attach">0</property> - </packing> - </child> - <child> - <object class="GtkImage"> - <style> - <class name="red"/> - </style> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">1</property> - </packing> - </child> - <child> - <object class="GtkImage"> - <style> - <class name="blue"/> - </style> - </object> - <packing> - <property name="left-attach">1</property> - <property name="top-attach">1</property> - </packing> - </child> - <child> - <object class="GtkLabel"> - <property name="label" translatable="yes"> -Blended picture</property> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">2</property> - <property name="width">2</property> - </packing> - </child> - <child> - <object class="GtkImage"> + <object class="GtkStackPage"> + <property name="name">page1</property> + <property name="title" translatable="yes">Blends</property> + <property name="child"> + <object class="GtkGrid"> <property name="halign">center</property> - <style> - <class name="blend1"/> - </style> + <property name="valign">center</property> + <property name="vexpand">1</property> + <property name="row-spacing">12</property> + <property name="column-spacing">12</property> + <child> + <object class="GtkLabel"> + <property name="label" translatable="yes">Red</property> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="label" translatable="yes">Blue</property> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">0</property> + </packing> + </child> + <child> + <object class="GtkImage"> + <style> + <class name="red"/> + </style> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">1</property> + </packing> + </child> + <child> + <object class="GtkImage"> + <style> + <class name="blue"/> + </style> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="label" translatable="yes"> +Blended picture</property> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">2</property> + <property name="width">2</property> + </packing> + </child> + <child> + <object class="GtkImage"> + <property name="halign">center</property> + <style> + <class name="blend1"/> + </style> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">3</property> + <property name="width">2</property> + </packing> + </child> </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">3</property> - <property name="width">2</property> - </packing> - </child> + </property> </object> - <packing> - <property name="name">page1</property> - <property name="title" translatable="yes">Blends</property> - </packing> </child> <child> - <object class="GtkGrid"> - <property name="halign">center</property> - <property name="valign">center</property> - <property name="hexpand">1</property> - <property name="vexpand">1</property> - <property name="row-spacing">6</property> - <property name="column-spacing">12</property> - <child> - <object class="GtkImage"> - <style> - <class name="cyan"/> - </style> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">1</property> - </packing> - </child> - <child> - <object class="GtkImage"> - <style> - <class name="magenta"/> - </style> - </object> - <packing> - <property name="left-attach">1</property> - <property name="top-attach">1</property> - </packing> - </child> - <child> - <object class="GtkImage"> - <style> - <class name="yellow"/> - </style> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">3</property> - </packing> - </child> - <child> - <object class="GtkImage"> + <object class="GtkStackPage"> + <property name="name">page2</property> + <property name="title" translatable="yes">CMYK</property> + <property name="child"> + <object class="GtkGrid"> <property name="halign">center</property> - <style> - <class name="blend2"/> - </style> - </object> - <packing> - <property name="left-attach">1</property> - <property name="top-attach">3</property> - </packing> - </child> - <child> - <object class="GtkLabel"> - <property name="label" translatable="yes">Cyan</property> - <property name="xalign">0</property> - <style> - <class name="dim-label"/> - </style> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">0</property> - </packing> - </child> - <child> - <object class="GtkLabel"> - <property name="label" translatable="yes">Magenta</property> - <property name="xalign">0</property> - <style> - <class name="dim-label"/> - </style> - </object> - <packing> - <property name="left-attach">1</property> - <property name="top-attach">0</property> - </packing> - </child> - <child> - <object class="GtkLabel"> - <property name="label" translatable="yes">Yellow</property> - <property name="xalign">0</property> - <style> - <class name="dim-label"/> - </style> + <property name="valign">center</property> + <property name="hexpand">1</property> + <property name="vexpand">1</property> + <property name="row-spacing">6</property> + <property name="column-spacing">12</property> + <child> + <object class="GtkImage"> + <style> + <class name="cyan"/> + </style> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">1</property> + </packing> + </child> + <child> + <object class="GtkImage"> + <style> + <class name="magenta"/> + </style> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">1</property> + </packing> + </child> + <child> + <object class="GtkImage"> + <style> + <class name="yellow"/> + </style> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">3</property> + </packing> + </child> + <child> + <object class="GtkImage"> + <property name="halign">center</property> + <style> + <class name="blend2"/> + </style> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">3</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="label" translatable="yes">Cyan</property> + <property name="xalign">0</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="label" translatable="yes">Magenta</property> + <property name="xalign">0</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="label" translatable="yes">Yellow</property> + <property name="xalign">0</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">2</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="label" translatable="yes">Blended picture</property> + <property name="xalign">0</property> + <attributes> + <attribute name="weight" value="bold"></attribute> + </attributes> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">2</property> + </packing> + </child> </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">2</property> - </packing> - </child> - <child> - <object class="GtkLabel"> - <property name="label" translatable="yes">Blended picture</property> - <property name="xalign">0</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> - <packing> - <property name="left-attach">1</property> - <property name="top-attach">2</property> - </packing> - </child> + </property> </object> - <packing> - <property name="name">page2</property> - <property name="title" translatable="yes">CMYK</property> - </packing> </child> </object> <packing> @@ -326,7 +331,6 @@ Blended picture</property> </child> </object> </child> - <child type="titlebar"> - </child> + <child type="titlebar"/> </object> </interface> |