2013-12-03 00:42:04 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
2013-12-03 01:35:57 +00:00
|
|
|
<!-- interface-requires gtk+ 3.10 -->
|
2013-12-03 00:42:04 +00:00
|
|
|
<object class="GtkTreeStore" id="treestore">
|
|
|
|
<columns>
|
|
|
|
<!-- column-name NAME -->
|
|
|
|
<column type="gchararray"/>
|
|
|
|
<!-- column-name TITLE -->
|
|
|
|
<column type="gchararray"/>
|
|
|
|
<!-- column-name FILENAME -->
|
|
|
|
<column type="gchararray"/>
|
|
|
|
<!-- column-name FUNC -->
|
|
|
|
<column type="gpointer"/>
|
|
|
|
<!-- column-name STYLE -->
|
|
|
|
<column type="gint"/>
|
|
|
|
</columns>
|
|
|
|
</object>
|
|
|
|
<object class="GtkApplicationWindow" id="window">
|
2014-01-11 23:06:06 +00:00
|
|
|
<property name="default-width">800</property>
|
|
|
|
<property name="default-height">600</property>
|
2013-12-03 00:42:04 +00:00
|
|
|
<property name="title">GTK+ Demo</property>
|
|
|
|
<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>
|
|
|
|
</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>
|
2016-02-28 04:46:25 +00:00
|
|
|
<object class="GtkScrolledWindow">
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="can-focus">1</property>
|
2013-12-03 00:42:04 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkTextView" id="info-textview">
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="can-focus">1</property>
|
2014-11-12 21:05:49 +00:00
|
|
|
<property name="left-margin">20</property>
|
|
|
|
<property name="right-margin">20</property>
|
2015-08-17 05:36:37 +00:00
|
|
|
<property name="top-margin">20</property>
|
|
|
|
<property name="bottom-margin">20</property>
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="pixels-above-lines">2</property>
|
|
|
|
<property name="pixels-below-lines">2</property>
|
2015-09-09 21:34:32 +00:00
|
|
|
<property name="editable">0</property>
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="wrap-mode">word</property>
|
|
|
|
<property name="cursor-visible">0</property>
|
2013-12-03 00:42:04 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2013-12-03 01:02:56 +00:00
|
|
|
<packing>
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="tab-expand">1</property>
|
2013-12-03 01:02:56 +00:00
|
|
|
</packing>
|
2013-12-03 00:42:04 +00:00
|
|
|
</child>
|
|
|
|
<child type="tab">
|
2016-02-28 04:46:25 +00:00
|
|
|
<object class="GtkLabel">
|
2015-09-14 03:26:16 +00:00
|
|
|
<property name="label" translatable="yes">_Info</property>
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="use-underline">1</property>
|
2013-12-03 00:42:04 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="tab-expand">1</property>
|
|
|
|
<property name="tab-fill">0</property>
|
2013-12-03 00:42:04 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2015-07-29 03:48:10 +00:00
|
|
|
<object class="GtkScrolledWindow" id="source-scrolledwindow">
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="can-focus">1</property>
|
2013-12-03 00:42:04 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkTextView" id="source-textview">
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="can-focus">1</property>
|
2014-11-12 21:05:49 +00:00
|
|
|
<property name="left-margin">20</property>
|
|
|
|
<property name="right-margin">20</property>
|
2015-08-17 05:36:37 +00:00
|
|
|
<property name="top-margin">20</property>
|
|
|
|
<property name="bottom-margin">20</property>
|
2015-09-09 21:34:32 +00:00
|
|
|
<property name="editable">0</property>
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="cursor-visible">0</property>
|
2013-12-03 00:42:04 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="position">1</property>
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="tab-expand">1</property>
|
2013-12-03 00:42:04 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child type="tab">
|
2016-02-28 04:46:25 +00:00
|
|
|
<object class="GtkLabel">
|
2015-09-14 03:26:16 +00:00
|
|
|
<property name="label" translatable="yes">Source</property>
|
2013-12-03 00:42:04 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="position">1</property>
|
2018-01-18 22:46:58 +00:00
|
|
|
<property name="tab-fill">0</property>
|
2013-12-03 00:42:04 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</interface>
|