mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
d2430c70bd
Redo this series of examples from 2013, and adapt it to modern way of doing things. The biggest differences are that we use a headerbar right from the start, and don't mention the app menu. Fixes: #2730
17 lines
550 B
XML
17 lines
550 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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>
|
|
<child>
|
|
<object class="GtkBox" id="content_box">
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkStack" id="stack"/>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|