mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
2301d8d90b
The new values are the ones we intend to keep. The old ones had duplicated meanings and nobody knew which one to take.
62 lines
2.3 KiB
XML
62 lines
2.3 KiB
XML
<?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 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>
|
|
</object>
|
|
</child>
|
|
<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="GtkStack" id="stack">
|
|
<signal name="notify::visible-child" handler="visible_child_changed"/>
|
|
<property name="visible">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|