|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Generated with glade 3.20.1 -->
|
|
<interface>
|
|
<requires lib="gtk+" version="3.20"/>
|
|
<requires lib="gtksourceview" version="3.0"/>
|
|
<object class="GtkApplicationWindow" id="app_window">
|
|
<property name="width_request">600</property>
|
|
<property name="height_request">400</property>
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="width_request">500</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="shadow_type">in</property>
|
|
<child>
|
|
<object class="GtkSourceView" id="sv">
|
|
<property name="width_request">100</property>
|
|
<property name="height_request">80</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="wrap_mode">word-char</property>
|
|
<property name="left_margin">2</property>
|
|
<property name="right_margin">2</property>
|
|
<property name="monospace">True</property>
|
|
<property name="show_line_numbers">True</property>
|
|
<property name="tab_width">4</property>
|
|
<property name="insert_spaces_instead_of_tabs">True</property>
|
|
<property name="highlight_current_line">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSourceMap">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="editable">False</property>
|
|
<property name="left_margin">2</property>
|
|
<property name="right_margin">2</property>
|
|
<property name="monospace">True</property>
|
|
<property name="view">sv</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">False</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSourceStyleSchemeChooserWidget" id="stylechooserwidget">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<signal name="button-release-event" handler="on_stylechooserwidget_button_release_event" swapped="no"/>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="titlebar">
|
|
<object class="GtkHeaderBar">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="show_close_button">True</property>
|
|
<child>
|
|
<object class="GtkButton" id="button1">
|
|
<property name="label" translatable="yes">Python file</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<signal name="clicked" handler="on_button1_clicked" swapped="no"/>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="button2">
|
|
<property name="label" translatable="yes">Glade file</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<signal name="clicked" handler="on_button2_clicked" swapped="no"/>
|
|
</object>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSearchEntry" id="search_entry">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="primary_icon_name">edit-find-symbolic</property>
|
|
<property name="primary_icon_activatable">False</property>
|
|
<property name="primary_icon_sensitive">False</property>
|
|
<signal name="activate" handler="on_search_entry_activate" swapped="no"/>
|
|
<signal name="search-changed" handler="on_search_entry_search_changed" swapped="no"/>
|
|
</object>
|
|
<packing>
|
|
<property name="position">4</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="save">
|
|
<property name="label" translatable="yes">Save</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<signal name="clicked" handler="on_save_clicked" swapped="no"/>
|
|
</object>
|
|
<packing>
|
|
<property name="pack_type">end</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="saveas">
|
|
<property name="label" translatable="yes">Save .bak</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<signal name="clicked" handler="on_saveas_clicked" swapped="no"/>
|
|
</object>
|
|
<packing>
|
|
<property name="pack_type">end</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|