summaryrefslogtreecommitdiff
path: root/examples/application10/window.ui
diff options
context:
space:
mode:
Diffstat (limited to 'examples/application10/window.ui')
-rw-r--r--examples/application10/window.ui123
1 files changed, 51 insertions, 72 deletions
diff --git a/examples/application10/window.ui b/examples/application10/window.ui
index c751dc69fb..9a0c9d0fd1 100644
--- a/examples/application10/window.ui
+++ b/examples/application10/window.ui
@@ -5,107 +5,86 @@
<property name="title" translatable="yes">Example Application</property>
<property name="default-width">600</property>
<property name="default-height">400</property>
- <child type="titlebar">
- <object class="GtkHeaderBar" id="header">
- <property name="visible">True</property>
- <property name="show-title-buttons">True</property>
- <child>
- <object class="GtkLabel" id="lines_label">
- <property name="visible">False</property>
- <property name="label" translatable="yes">Lines:</property>
- </object>
- <packing>
- <property name="pack-type">start</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="lines">
- <property name="visible">False</property>
- </object>
- <packing>
- <property name="pack-type">start</property>
- </packing>
- </child>
- <child type="title">
- <object class="GtkStackSwitcher" id="tabs">
- <property name="visible">True</property>
- <property name="stack">stack</property>
- </object>
- </child>
- <child>
- <object class="GtkToggleButton" id="search">
- <property name="visible">True</property>
- <property name="sensitive">False</property>
- <style>
- <class name="image-button"/>
- </style>
- <child>
- <object class="GtkImage" id="search-icon">
- <property name="visible">True</property>
- <property name="icon-name">edit-find-symbolic</property>
- </object>
- </child>
- </object>
- <packing>
- <property name="pack-type">end</property>
- </packing>
- </child>
+ <child type="titlebar">
+ <object class="GtkHeaderBar" id="header">
+ <property name="show-title-buttons">1</property>
+ <child>
+ <object class="GtkLabel" id="lines_label">
+ <property name="visible">0</property>
+ <property name="label" translatable="yes">Lines:</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="lines">
+ <property name="visible">0</property>
+ </object>
+ </child>
+ <child type="title">
+ <object class="GtkStackSwitcher" id="tabs">
+ <property name="stack">stack</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkToggleButton" id="search">
+ <property name="sensitive">0</property>
+ <style>
+ <class name="image-button"/>
+ </style>
<child>
- <object class="GtkMenuButton" id="gears">
- <property name="visible">True</property>
- <property name="direction">none</property>
- <property name="use-popover">True</property>
- <style>
- <class name="image-button"/>
- </style>
+ <object class="GtkImage" id="search-icon">
+ <property name="icon-name">edit-find-symbolic</property>
</object>
- <packing>
- <property name="pack-type">end</property>
- </packing>
</child>
</object>
+ <packing>
+ <property name="pack-type">end</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkMenuButton" id="gears">
+ <property name="direction">none</property>
+ <style>
+ <class name="image-button"/>
+ </style>
+ </object>
+ <packing>
+ <property name="pack-type">end</property>
+ </packing>
</child>
+ </object>
+ </child>
<child>
<object class="GtkBox" id="content_box">
- <property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkSearchBar" id="searchbar">
- <property name="visible">True</property>
<child>
<object class="GtkSearchEntry" id="searchentry">
<signal name="search-changed" handler="search_text_changed"/>
- <property name="visible">True</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox" id="hbox">
- <property name="visible">True</property>
<child>
<object class="GtkRevealer" id="sidebar">
- <property name="visible">True</property>
<property name="transition-type">slide-right</property>
<child>
- <object class="GtkScrolledWindow" id="sidebar-sw">
- <property name="visible">True</property>
- <property name="hscrollbar-policy">never</property>
- <property name="vscrollbar-policy">automatic</property>
- <child>
- <object class="GtkListBox" id="words">
- <property name="visible">True</property>
- <property name="selection-mode">none</property>
- </object>
- </child>
- </object>
+ <object class="GtkScrolledWindow" id="sidebar-sw">
+ <property name="hscrollbar-policy">never</property>
+ <child>
+ <object class="GtkListBox" id="words">
+ <property name="selection-mode">none</property>
+ </object>
+ </child>
+ </object>
</child>
</object>
</child>
<child>
<object class="GtkStack" id="stack">
<signal name="notify::visible-child" handler="visible_child_changed"/>
- <property name="visible">True</property>
</object>
</child>
</object>