252 lines
11 KiB
Plaintext
252 lines
11 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!-- Generated with glade 3.38.2 -->
|
||
|
<interface>
|
||
|
<requires lib="gtk+" version="3.24"/>
|
||
|
<object class="GtkAdjustment" id="adjustment1">
|
||
|
<property name="upper">100</property>
|
||
|
<property name="step-increment">1</property>
|
||
|
<property name="page-increment">10</property>
|
||
|
</object>
|
||
|
<object class="GtkWindow" id="main_window">
|
||
|
<property name="can-focus">False</property>
|
||
|
<property name="default-width">1280</property>
|
||
|
<property name="default-height">720</property>
|
||
|
<child>
|
||
|
<object class="GtkBox">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">False</property>
|
||
|
<property name="orientation">vertical</property>
|
||
|
<child>
|
||
|
<object class="GtkMenuBar">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">False</property>
|
||
|
<child>
|
||
|
<object class="GtkMenuItem">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">False</property>
|
||
|
<property name="label" translatable="yes">_File</property>
|
||
|
<property name="use-underline">True</property>
|
||
|
<child type="submenu">
|
||
|
<object class="GtkMenu">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">False</property>
|
||
|
<child>
|
||
|
<object class="GtkImageMenuItem">
|
||
|
<property name="label">gtk-new</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">False</property>
|
||
|
<property name="use-underline">True</property>
|
||
|
<property name="use-stock">True</property>
|
||
|
<signal name="activate" handler="file_new_clicked" swapped="no"/>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkImageMenuItem">
|
||
|
<property name="label">gtk-open</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">False</property>
|
||
|
<property name="use-underline">True</property>
|
||
|
<property name="use-stock">True</property>
|
||
|
<signal name="activate" handler="file_open_clicked" swapped="no"/>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkImageMenuItem">
|
||
|
<property name="label">gtk-save-as</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">False</property>
|
||
|
<property name="use-underline">True</property>
|
||
|
<property name="use-stock">True</property>
|
||
|
<signal name="activate" handler="file_save_clicked" swapped="no"/>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkSeparatorMenuItem">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">False</property>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkImageMenuItem">
|
||
|
<property name="label">gtk-quit</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">False</property>
|
||
|
<property name="use-underline">True</property>
|
||
|
<property name="use-stock">True</property>
|
||
|
<signal name="activate" handler="close_window" object="main_window" swapped="no"/>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkMenuItem">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">False</property>
|
||
|
<property name="label" translatable="yes">_Help</property>
|
||
|
<property name="use-underline">True</property>
|
||
|
<child type="submenu">
|
||
|
<object class="GtkMenu">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">False</property>
|
||
|
<child>
|
||
|
<object class="GtkImageMenuItem" id="about_item">
|
||
|
<property name="label">gtk-about</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">False</property>
|
||
|
<property name="use-underline">True</property>
|
||
|
<property name="use-stock">True</property>
|
||
|
<signal name="activate" handler="about_item_clicked" swapped="no"/>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">0</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkBox">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">False</property>
|
||
|
<child>
|
||
|
<object class="GtkToolbar">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">False</property>
|
||
|
<child>
|
||
|
<object class="GtkToolButton" id="brush_tool">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">False</property>
|
||
|
<property name="tooltip-text" translatable="yes">Brush tool to draw with</property>
|
||
|
<property name="icon-name">document-edit-symbolic</property>
|
||
|
<signal name="clicked" handler="brush_tool_clicked" swapped="no"/>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="homogeneous">True</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkToolButton" id="eraser">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">False</property>
|
||
|
<property name="use-underline">True</property>
|
||
|
<property name="icon-name">edit-clear-all-symbolic</property>
|
||
|
<signal name="clicked" handler="eraser_tool_clicked" swapped="no"/>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="homogeneous">True</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">0</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkColorButton" id="color_selector">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">True</property>
|
||
|
<property name="receives-default">True</property>
|
||
|
<signal name="color-set" handler="changed_color" swapped="no"/>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">1</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkSpinButton">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">True</property>
|
||
|
<property name="adjustment">adjustment1</property>
|
||
|
<property name="value">2</property>
|
||
|
<signal name="value-changed" handler="change_line_size" swapped="no"/>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">2</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">1</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkSeparator">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">False</property>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">2</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkDrawingArea" id="draw_area">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="app-paintable">True</property>
|
||
|
<property name="can-focus">True</property>
|
||
|
<property name="has-focus">True</property>
|
||
|
<property name="is-focus">True</property>
|
||
|
<property name="hexpand">True</property>
|
||
|
<property name="vexpand">True</property>
|
||
|
<signal name="button-press-event" handler="draw_area_pressed" swapped="no"/>
|
||
|
<signal name="button-release-event" handler="draw_area_release" swapped="no"/>
|
||
|
<signal name="draw" handler="draw_area_draw" swapped="no"/>
|
||
|
<signal name="motion-notify-event" handler="draw_area_motion" swapped="no"/>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">3</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkSeparator">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">False</property>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">4</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkStatusbar">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can-focus">False</property>
|
||
|
<property name="margin-start">10</property>
|
||
|
<property name="margin-end">10</property>
|
||
|
<property name="margin-top">6</property>
|
||
|
<property name="margin-bottom">6</property>
|
||
|
<property name="orientation">vertical</property>
|
||
|
<property name="spacing">2</property>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">False</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">5</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
</interface>
|