diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-11-07 13:17:17 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-11-08 21:08:38 -0500 |
commit | 306b6c6024bc5153ccf5fe5407bea496749842bc (patch) | |
tree | c528355ffa92135516eeb80380a73e9e68267ff4 /demos | |
parent | e892b918dc0d88a2850a9f24cf42f599e48a1f2d (diff) | |
download | gtk+-306b6c6024bc5153ccf5fe5407bea496749842bc.tar.gz |
widget-factory: Add another notebook example
This example shows a scrollable notebook with action widgets.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/widget-factory/widget-factory.ui | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui index b90ca34358..69f3685afe 100644 --- a/demos/widget-factory/widget-factory.ui +++ b/demos/widget-factory/widget-factory.ui @@ -3620,6 +3620,7 @@ microphone-sensitivity-medium-symbolic</property> <object class="GtkBox"> <property name="visible">1</property> <property name="orientation">vertical</property> + <property name="spacing">10</property> <child> <object class="GtkBox"> <property name="visible">1</property> @@ -3647,6 +3648,108 @@ microphone-sensitivity-medium-symbolic</property> </object> </child> <child> + <object class="GtkSeparator"> + <property name="visible">1</property> + <property name="orientation">horizontal</property> + </object> + </child> + <child> + <object class="GtkNotebook"> + <property name="visible">1</property> + <property name="scrollable">1</property> + <child type="action-end"> + <object class="GtkMenuButton"> + <property name="visible">1</property> + <property name="valign">center</property> + <property name="popover">notebook_info_popover</property> + <child> + <object class="GtkImage"> + <property name="visible">1</property> + <property name="icon-name">emblem-important-symbolic</property> + <property name="icon-size">1</property> + </object> + </child> + <style> + <class name="image-button"/> + <class name="sidebar-button"/> + </style> + </object> + </child> + <child> + <object class="GtkBox"> + <property name="visible">1</property> + <property name="height-request">120</property> + </object> + <packing> + <property name="tab-expand">1</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel"> + <property name="visible">1</property> + <property name="label" translatable="yes">Page 1</property> + </object> + </child> + <child> + <object class="GtkBox"> + <property name="visible">1</property> + <property name="height-request">40</property> + </object> + <packing> + <property name="tab-expand">1</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel"> + <property name="visible">1</property> + <property name="label" translatable="yes">Page 2</property> + </object> + </child> + <child> + <object class="GtkBox"> + <property name="visible">1</property> + </object> + <packing> + <property name="tab-expand">1</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel"> + <property name="visible">1</property> + <property name="label" translatable="yes">Page 3</property> + </object> + </child> + <child> + <object class="GtkBox"> + <property name="visible">1</property> + </object> + <packing> + <property name="tab-expand">1</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel"> + <property name="visible">1</property> + <property name="label" translatable="yes">Page 4</property> + </object> + </child> + <child> + <object class="GtkBox"> + <property name="visible">1</property> + </object> + <packing> + <property name="tab-expand">1</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel"> + <property name="visible">1</property> + <property name="label" translatable="yes">Page 5</property> + </object> + </child> + </object> + </child> + <child> <object class="GtkSpinner"> <property name="visible">1</property> <property name="active">1</property> @@ -4001,4 +4104,13 @@ bad things might happen.</property> <widget name="panedframe2"/> </widgets> </object> + <object class="GtkPopover" id="notebook_info_popover"> + <child> + <object class="GtkLabel" id="notebook_info_label"> + <property name="visible">1</property> + <property name="margin">10</property> + <property name="label">No updates at this time</property> + </object> + </child> + </object> </interface> |