2013-07-24 05:13:06 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<!-- interface-requires gtk+ 3.8 -->
|
|
|
|
<template class="ExampleAppWindow" parent="GtkApplicationWindow">
|
|
|
|
<property name="title" translatable="yes">Example Application</property>
|
|
|
|
<property name="default-width">600</property>
|
|
|
|
<property name="default-height">400</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="content_box">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkHeaderBar" id="header">
|
|
|
|
<property name="visible">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>
|
2014-04-17 18:11:17 +00:00
|
|
|
<property name="margin">6</property>
|
2013-07-24 05:13:06 +00:00
|
|
|
<property name="stack">stack</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkToggleButton" id="search">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="sensitive">False</property>
|
2014-04-17 19:37:51 +00:00
|
|
|
<style>
|
|
|
|
<class name="image-button"/>
|
|
|
|
</style>
|
2013-07-24 05:13:06 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="search-icon">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="icon-name">edit-find-symbolic</property>
|
|
|
|
<property name="icon-size">1</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="pack-type">end</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkMenuButton" id="gears">
|
|
|
|
<property name="visible">True</property>
|
2014-07-16 01:29:20 +00:00
|
|
|
<property name="direction">none</property>
|
2014-04-17 19:43:17 +00:00
|
|
|
<property name="use-popover">True</property>
|
2014-04-17 19:39:07 +00:00
|
|
|
<style>
|
|
|
|
<class name="image-button"/>
|
|
|
|
</style>
|
2013-07-24 05:13:06 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="pack-type">end</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSearchBar" id="searchbar">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSearchEntry" id="searchentry">
|
2013-08-01 22:54:00 +00:00
|
|
|
<signal name="search-changed" handler="search_text_changed"/>
|
2013-07-24 05:13:06 +00:00
|
|
|
<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>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkStack" id="stack">
|
2013-07-28 00:33:08 +00:00
|
|
|
<signal name="notify::visible-child" handler="visible_child_changed"/>
|
2013-07-24 05:13:06 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
</interface>
|