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
|
|
|
<?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>
|
2014-04-17 18:11:17 +00:00
|
|
|
<property name="margin">6</property>
|
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
|
|
|
<property name="stack">stack</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkStack" id="stack">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
</interface>
|