2019-04-06 00:47:46 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
Add a new example app
Add a new example to the getting started part of the docs. The focus
of this example is on 'new stuff': GtkApplication, templates, settings,
gmenu, gaction, GtkStack, GtkHeaderBar, GtkSearchBar, GtkRevealer,
GtkListBox, GtkMenuButton, etc.
It is being developed in several steps. Each step is put in a separate
directory below examples/: application1, ..., application8. This is a
little repetitive, but lets us use the code of all examples in the
documentation.
2013-07-20 04:21:48 +00:00
|
|
|
<interface>
|
|
|
|
<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>
|
2020-05-11 01:26:19 +00:00
|
|
|
<child type="titlebar">
|
|
|
|
<object class="GtkHeaderBar" id="header">
|
|
|
|
<child type="title">
|
|
|
|
<object class="GtkStackSwitcher" id="tabs">
|
|
|
|
<property name="stack">stack</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child type="end">
|
|
|
|
<object class="GtkToggleButton" id="search">
|
|
|
|
<property name="sensitive">0</property>
|
|
|
|
<property name="icon-name">edit-find-symbolic</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child type="end">
|
|
|
|
<object class="GtkMenuButton" id="gears">
|
|
|
|
<property name="direction">none</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
Add a new example app
Add a new example to the getting started part of the docs. The focus
of this example is on 'new stuff': GtkApplication, templates, settings,
gmenu, gaction, GtkStack, GtkHeaderBar, GtkSearchBar, GtkRevealer,
GtkListBox, GtkMenuButton, etc.
It is being developed in several steps. Each step is put in a separate
directory below examples/: application1, ..., application8. This is a
little repetitive, but lets us use the code of all examples in the
documentation.
2013-07-20 04:21:48 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="content_box">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSearchBar" id="searchbar">
|
|
|
|
<child>
|
|
|
|
<object class="GtkSearchEntry" id="searchentry">
|
2013-08-01 22:54:00 +00:00
|
|
|
<signal name="search-changed" handler="search_text_changed"/>
|
Add a new example app
Add a new example to the getting started part of the docs. The focus
of this example is on 'new stuff': GtkApplication, templates, settings,
gmenu, gaction, GtkStack, GtkHeaderBar, GtkSearchBar, GtkRevealer,
GtkListBox, GtkMenuButton, etc.
It is being developed in several steps. Each step is put in a separate
directory below examples/: application1, ..., application8. This is a
little repetitive, but lets us use the code of all examples in the
documentation.
2013-07-20 04:21:48 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="hbox">
|
|
|
|
<child>
|
|
|
|
<object class="GtkRevealer" id="sidebar">
|
|
|
|
<property name="transition-type">slide-right</property>
|
|
|
|
<child>
|
2018-05-07 16:42:09 +00:00
|
|
|
<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>
|
Add a new example app
Add a new example to the getting started part of the docs. The focus
of this example is on 'new stuff': GtkApplication, templates, settings,
gmenu, gaction, GtkStack, GtkHeaderBar, GtkSearchBar, GtkRevealer,
GtkListBox, GtkMenuButton, etc.
It is being developed in several steps. Each step is put in a separate
directory below examples/: application1, ..., application8. This is a
little repetitive, but lets us use the code of all examples in the
documentation.
2013-07-20 04:21:48 +00:00
|
|
|
</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"/>
|
Add a new example app
Add a new example to the getting started part of the docs. The focus
of this example is on 'new stuff': GtkApplication, templates, settings,
gmenu, gaction, GtkStack, GtkHeaderBar, GtkSearchBar, GtkRevealer,
GtkListBox, GtkMenuButton, etc.
It is being developed in several steps. Each step is put in a separate
directory below examples/: application1, ..., application8. This is a
little repetitive, but lets us use the code of all examples in the
documentation.
2013-07-20 04:21:48 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
</interface>
|