2019-04-04 23:10:18 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2015-08-20 03:17:01 +00:00
|
|
|
<interface>
|
|
|
|
<object class="GtkWindow" id="window1">
|
|
|
|
<child type="titlebar">
|
|
|
|
<object class="GtkHeaderBar">
|
2017-12-08 16:29:14 +00:00
|
|
|
<property name="show-title-buttons">1</property>
|
2015-09-14 03:26:16 +00:00
|
|
|
<property name="title" translatable="yes">Model Button</property>
|
2015-08-20 03:17:01 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="margin">80</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkMenuButton">
|
|
|
|
<property name="popover">thing_a</property>
|
2019-10-03 08:32:30 +00:00
|
|
|
<property name="label">Color</property>
|
2015-08-20 03:17:01 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkMenuButton">
|
|
|
|
<property name="popover">thing_b</property>
|
2019-10-03 08:32:30 +00:00
|
|
|
<property name="label">Flavors</property>
|
2015-08-20 03:17:01 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkMenuButton">
|
|
|
|
<property name="popover">thing_c</property>
|
2019-10-03 08:32:30 +00:00
|
|
|
<property name="label">Tools</property>
|
2015-08-20 03:17:01 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<object class="GtkPopover" id="thing_a">
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="margin">10</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkModelButton">
|
|
|
|
<property name="action-name">win.color</property>
|
2019-02-07 08:23:02 +00:00
|
|
|
<property name="action-target">'red'</property>
|
2015-08-20 03:17:01 +00:00
|
|
|
<property name="text">Red</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkModelButton">
|
|
|
|
<property name="action-name">win.color</property>
|
2019-02-07 08:23:02 +00:00
|
|
|
<property name="action-target">'green'</property>
|
2015-08-20 03:17:01 +00:00
|
|
|
<property name="text">Green</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkModelButton">
|
|
|
|
<property name="action-name">win.color</property>
|
2019-02-07 08:23:02 +00:00
|
|
|
<property name="action-target">'blue'</property>
|
2015-08-20 03:17:01 +00:00
|
|
|
<property name="text">Blue</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<object class="GtkPopover" id="thing_b">
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="margin">10</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">10</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkModelButton">
|
|
|
|
<property name="action-name">win.chocolate</property>
|
|
|
|
<property name="text">Chocolate</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkModelButton">
|
|
|
|
<property name="action-name">win.vanilla</property>
|
|
|
|
<property name="text">Vanilla</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2019-02-07 08:23:02 +00:00
|
|
|
<object class="GtkSeparator"/>
|
2015-08-20 03:17:01 +00:00
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkModelButton">
|
|
|
|
<property name="action-name">win.sprinkles</property>
|
|
|
|
<property name="text">Add Sprinkles</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<object class="GtkPopover" id="thing_c">
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="margin">10</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">10</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkModelButton">
|
|
|
|
<property name="text">Hammer</property>
|
|
|
|
<property name="role">check</property>
|
2019-11-29 07:48:48 +00:00
|
|
|
<signal name="clicked" handler="modelbutton_tool_clicked"/>
|
2015-08-20 03:17:01 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkModelButton">
|
|
|
|
<property name="text">Screwdriver</property>
|
|
|
|
<property name="role">check</property>
|
2019-11-29 07:48:48 +00:00
|
|
|
<signal name="clicked" handler="modelbutton_tool_clicked"/>
|
2015-08-20 03:17:01 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkModelButton">
|
|
|
|
<property name="text">Drill</property>
|
|
|
|
<property name="role">check</property>
|
2019-11-29 07:48:48 +00:00
|
|
|
<signal name="clicked" handler="modelbutton_tool_clicked"/>
|
2015-08-20 03:17:01 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</interface>
|