2019-04-04 23:10:18 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2013-12-03 00:42:04 +00:00
|
|
|
<interface>
|
2019-04-17 00:34:59 +00:00
|
|
|
<menu id="gear_menu">
|
|
|
|
<section>
|
|
|
|
<item>
|
|
|
|
<attribute name="label" translatable="yes">_Inspector</attribute>
|
|
|
|
<attribute name="action">app.inspector</attribute>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<attribute name="label" translatable="yes">_About GTK Demo</attribute>
|
|
|
|
<attribute name="action">app.about</attribute>
|
|
|
|
</item>
|
|
|
|
</section>
|
|
|
|
</menu>
|
2013-12-03 00:42:04 +00:00
|
|
|
<object class="GtkTreeStore" id="treestore">
|
|
|
|
<columns>
|
|
|
|
<column type="gchararray"/>
|
|
|
|
<column type="gchararray"/>
|
|
|
|
<column type="gchararray"/>
|
|
|
|
<column type="gpointer"/>
|
|
|
|
<column type="gint"/>
|
|
|
|
</columns>
|
|
|
|
</object>
|
|
|
|
<object class="GtkApplicationWindow" id="window">
|
2019-02-07 08:23:02 +00:00
|
|
|
<style>
|
|
|
|
<class name="devel"/>
|
|
|
|
</style>
|
2014-01-11 23:06:06 +00:00
|
|
|
<property name="default-width">800</property>
|
|
|
|
<property name="default-height">600</property>
|
2019-02-05 09:19:57 +00:00
|
|
|
<property name="title">GTK Demo</property>
|
2013-12-03 00:42:04 +00:00
|
|
|
<signal name="destroy" handler="gtk_main_quit" swapped="no"/>
|
2013-12-03 01:35:57 +00:00
|
|
|
<child type="titlebar">
|
|
|
|
<object class="GtkHeaderBar" id="headerbar">
|
2017-12-08 16:29:14 +00:00
|
|
|
<property name="show-title-buttons">1</property>
|
2013-12-03 01:35:57 +00:00
|
|
|
<child>
|
2016-02-28 04:46:25 +00:00
|
|
|
<object class="GtkButton">
|
2013-12-03 01:35:57 +00:00
|
|
|
<property name="valign">center</property>
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="can-focus">1</property>
|
|
|
|
<property name="action-name">win.run</property>
|
2013-12-03 01:35:57 +00:00
|
|
|
<style>
|
2013-12-03 16:44:07 +00:00
|
|
|
<class name="text-button"/>
|
2013-12-03 01:35:57 +00:00
|
|
|
</style>
|
|
|
|
<child>
|
2016-02-28 04:46:25 +00:00
|
|
|
<object class="GtkLabel">
|
2015-09-14 03:26:16 +00:00
|
|
|
<property name="label" translatable="yes">Run</property>
|
2013-12-03 01:35:57 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2019-04-17 00:34:59 +00:00
|
|
|
<child type="end">
|
|
|
|
<object class="GtkMenuButton" id="gear_menu_button">
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="menu-model">gear_menu</property>
|
|
|
|
<property name="icon-name">open-menu-symbolic</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2013-12-03 01:35:57 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2013-12-03 00:42:04 +00:00
|
|
|
<child>
|
2016-02-28 04:46:25 +00:00
|
|
|
<object class="GtkBox">
|
2013-12-03 00:42:04 +00:00
|
|
|
<child>
|
2014-10-27 21:13:36 +00:00
|
|
|
<object class="GtkFrame">
|
2013-12-03 00:42:04 +00:00
|
|
|
<child>
|
2016-02-28 04:46:25 +00:00
|
|
|
<object class="GtkScrolledWindow">
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="width-request">120</property>
|
|
|
|
<property name="can-focus">1</property>
|
|
|
|
<property name="hscrollbar-policy">never</property>
|
|
|
|
<property name="min-content-width">150</property>
|
2013-12-03 00:42:04 +00:00
|
|
|
<child>
|
2014-10-27 21:13:36 +00:00
|
|
|
<object class="GtkTreeView" id="treeview">
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="can-focus">1</property>
|
2014-10-27 21:13:36 +00:00
|
|
|
<property name="model">treestore</property>
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="headers-visible">0</property>
|
2014-10-27 21:13:36 +00:00
|
|
|
<child internal-child="selection">
|
|
|
|
<object class="GtkTreeSelection" id="treeview-selection">
|
|
|
|
<property name="mode">browse</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2013-12-03 00:42:04 +00:00
|
|
|
<child>
|
2016-02-28 04:46:25 +00:00
|
|
|
<object class="GtkTreeViewColumn">
|
2014-10-27 21:13:36 +00:00
|
|
|
<child>
|
2016-02-28 04:46:25 +00:00
|
|
|
<object class="GtkCellRendererText"/>
|
2014-10-27 21:13:36 +00:00
|
|
|
<attributes>
|
|
|
|
<attribute name="style">4</attribute>
|
|
|
|
<attribute name="text">1</attribute>
|
|
|
|
</attributes>
|
|
|
|
</child>
|
2016-02-28 04:35:33 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkCellRendererText">
|
|
|
|
<property name="text"> </property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2014-10-27 21:13:36 +00:00
|
|
|
</object>
|
2013-12-03 00:42:04 +00:00
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkNotebook" id="notebook">
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="can-focus">1</property>
|
2015-09-09 21:34:32 +00:00
|
|
|
<property name="scrollable">1</property>
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="enable-popup">1</property>
|
|
|
|
<property name="show-border">0</property>
|
2017-04-21 16:59:59 +00:00
|
|
|
<property name="expand">1</property>
|
2013-12-03 00:42:04 +00:00
|
|
|
<child>
|
2019-02-21 16:13:53 +00:00
|
|
|
<object class="GtkNotebookPage">
|
|
|
|
<property name="tab-expand">1</property>
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkScrolledWindow">
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="can-focus">1</property>
|
2019-02-21 16:13:53 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkTextView" id="info-textview">
|
|
|
|
<property name="can-focus">1</property>
|
|
|
|
<property name="left-margin">20</property>
|
|
|
|
<property name="right-margin">20</property>
|
|
|
|
<property name="top-margin">20</property>
|
|
|
|
<property name="bottom-margin">20</property>
|
|
|
|
<property name="pixels-above-lines">2</property>
|
|
|
|
<property name="pixels-below-lines">2</property>
|
|
|
|
<property name="editable">0</property>
|
|
|
|
<property name="wrap-mode">word</property>
|
|
|
|
<property name="cursor-visible">0</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2013-12-03 00:42:04 +00:00
|
|
|
</object>
|
2019-02-21 16:13:53 +00:00
|
|
|
</property>
|
|
|
|
<property name="tab">
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="label" translatable="yes">_Info</property>
|
|
|
|
<property name="use-underline">1</property>
|
|
|
|
</object>
|
|
|
|
</property>
|
2013-12-03 00:42:04 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2019-02-21 16:13:53 +00:00
|
|
|
<object class="GtkNotebookPage">
|
2013-12-03 00:42:04 +00:00
|
|
|
<property name="position">1</property>
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="tab-expand">1</property>
|
2019-02-21 16:13:53 +00:00
|
|
|
<property name="child">
|
|
|
|
<object class="GtkScrolledWindow" id="source-scrolledwindow">
|
|
|
|
<property name="can-focus">1</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkTextView" id="source-textview">
|
|
|
|
<property name="can-focus">1</property>
|
|
|
|
<property name="left-margin">20</property>
|
|
|
|
<property name="right-margin">20</property>
|
|
|
|
<property name="top-margin">20</property>
|
|
|
|
<property name="bottom-margin">20</property>
|
|
|
|
<property name="editable">0</property>
|
|
|
|
<property name="cursor-visible">0</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
<property name="tab">
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="label" translatable="yes">Source</property>
|
|
|
|
</object>
|
|
|
|
</property>
|
2013-12-03 00:42:04 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</interface>
|