2019-04-04 23:10:18 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2012-01-14 23:22:33 +00:00
|
|
|
<interface>
|
2016-02-14 03:53:16 +00:00
|
|
|
<template class="DemoApplicationWindow" parent="GtkApplicationWindow">
|
2016-02-14 02:46:40 +00:00
|
|
|
<property name="title" translatable="yes">Application Class</property>
|
|
|
|
<property name="default-width">200</property>
|
|
|
|
<property name="default-height">200</property>
|
|
|
|
<property name="icon-name">document-open</property>
|
2012-01-14 23:22:33 +00:00
|
|
|
<child>
|
2016-02-28 04:46:25 +00:00
|
|
|
<object class="GtkGrid">
|
2012-01-14 23:22:33 +00:00
|
|
|
<child>
|
2016-02-28 04:46:25 +00:00
|
|
|
<object class="GtkToolbar">
|
2016-02-14 02:46:40 +00:00
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<style>
|
|
|
|
<class name="primary-toolbar"/>
|
|
|
|
</style>
|
|
|
|
<child>
|
|
|
|
<object class="GtkMenuToolButton" id="menutool">
|
|
|
|
<property name="icon-name">document-open</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2016-02-28 04:46:25 +00:00
|
|
|
<object class="GtkToolButton">
|
2016-02-14 02:46:40 +00:00
|
|
|
<property name="icon-name">application-exit</property>
|
|
|
|
<property name="action-name">app.quit</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2019-02-07 08:23:02 +00:00
|
|
|
<object class="GtkSeparatorToolItem"/>
|
2016-02-14 02:46:40 +00:00
|
|
|
</child>
|
|
|
|
<child>
|
2016-02-28 04:46:25 +00:00
|
|
|
<object class="GtkToolButton">
|
2016-02-14 02:46:40 +00:00
|
|
|
<property name="icon-name">applications-other</property>
|
|
|
|
<property name="action-name">win.logo</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2019-04-04 23:10:18 +00:00
|
|
|
<layout>
|
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="top-attach">0</property>
|
|
|
|
</layout>
|
2012-01-14 23:22:33 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2016-02-14 02:46:40 +00:00
|
|
|
<object class="GtkInfoBar" id="infobar">
|
2017-01-19 09:31:03 +00:00
|
|
|
<property name="visible">0</property>
|
2016-02-14 02:46:40 +00:00
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<child internal-child="content_area">
|
|
|
|
<object class="GtkBox" id="content_area">
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="message">
|
|
|
|
<property name="hexpand">1</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child internal-child="action_area">
|
2016-02-28 04:46:25 +00:00
|
|
|
<object class="GtkBox">
|
2016-02-14 02:46:40 +00:00
|
|
|
<child>
|
2016-02-28 04:46:25 +00:00
|
|
|
<object class="GtkButton">
|
2016-02-14 02:46:40 +00:00
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="label" translatable="yes">_OK</property>
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="use-underline">1</property>
|
2016-02-14 03:53:16 +00:00
|
|
|
<signal name="clicked" handler="clicked_cb"/>
|
2016-02-14 02:46:40 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2012-01-14 23:22:33 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2019-04-04 23:10:18 +00:00
|
|
|
<layout>
|
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="top-attach">1</property>
|
|
|
|
</layout>
|
2012-01-14 23:22:33 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2016-02-14 02:46:40 +00:00
|
|
|
<child>
|
2016-02-28 04:46:25 +00:00
|
|
|
<object class="GtkScrolledWindow">
|
2016-02-14 02:46:40 +00:00
|
|
|
<property name="shadow-type">in</property>
|
2012-01-14 23:22:33 +00:00
|
|
|
<child>
|
2016-02-28 04:46:25 +00:00
|
|
|
<object class="GtkTextView">
|
2016-02-14 02:46:40 +00:00
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="vexpand">1</property>
|
|
|
|
<property name="buffer">buffer</property>
|
2012-01-14 23:22:33 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2019-04-04 23:10:18 +00:00
|
|
|
<layout>
|
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="top-attach">2</property>
|
|
|
|
</layout>
|
2012-01-14 23:22:33 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2016-02-14 02:46:40 +00:00
|
|
|
<object class="GtkStatusbar" id="status">
|
2015-09-09 21:34:32 +00:00
|
|
|
<property name="hexpand">1</property>
|
2019-04-04 23:10:18 +00:00
|
|
|
<layout>
|
|
|
|
<property name="left-attach">0</property>
|
|
|
|
<property name="top-attach">3</property>
|
|
|
|
</layout>
|
2012-01-14 23:22:33 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2016-02-14 02:46:40 +00:00
|
|
|
</template>
|
2012-01-25 03:27:28 +00:00
|
|
|
<menu id="toolmenu">
|
2012-01-25 23:23:25 +00:00
|
|
|
<item>
|
|
|
|
<attribute name="label">File1</attribute>
|
|
|
|
<attribute name="action">win.file1</attribute>
|
|
|
|
</item>
|
2012-01-25 03:27:28 +00:00
|
|
|
</menu>
|
2016-02-14 02:46:40 +00:00
|
|
|
<object class="GtkTextBuffer" id="buffer">
|
2016-02-14 03:53:16 +00:00
|
|
|
<signal name="changed" handler="update_statusbar"/>
|
|
|
|
<signal name="mark-set" handler="mark_set_callback"/>
|
2016-02-14 02:46:40 +00:00
|
|
|
</object>
|
2012-01-14 23:22:33 +00:00
|
|
|
</interface>
|