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="ExampleAppPrefs" parent="GtkDialog">
|
|
|
|
<property name="title" translatable="yes">Preferences</property>
|
|
|
|
<property name="resizable">False</property>
|
|
|
|
<property name="modal">True</property>
|
|
|
|
<child internal-child="vbox">
|
|
|
|
<object class="GtkBox" id="vbox">
|
|
|
|
<child>
|
|
|
|
<object class="GtkGrid" id="grid">
|
|
|
|
<property name="margin">6</property>
|
|
|
|
<property name="row-spacing">12</property>
|
|
|
|
<property name="column-spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="fontlabel">
|
|
|
|
<property name="label">_Font:</property>
|
2018-05-07 16:42:09 +00:00
|
|
|
<property name="use-underline">1</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="mnemonic-widget">font</property>
|
|
|
|
<property name="xalign">1</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="top-attach">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkFontButton" id="font">
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">1</property>
|
|
|
|
<property name="top-attach">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="transitionlabel">
|
|
|
|
<property name="label">_Transition:</property>
|
2018-05-07 16:42:09 +00:00
|
|
|
<property name="use-underline">1</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="mnemonic-widget">transition</property>
|
|
|
|
<property name="xalign">1</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="top-attach">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkComboBoxText" id="transition">
|
|
|
|
<items>
|
|
|
|
<item translatable="yes" id="none">None</item>
|
|
|
|
<item translatable="yes" id="crossfade">Fade</item>
|
|
|
|
<item translatable="yes" id="slide-left-right">Slide</item>
|
|
|
|
</items>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left-attach">1</property>
|
|
|
|
<property name="top-attach">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
</interface>
|