|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Generated with glade 3.20.0 -->
|
|
<interface>
|
|
<requires lib="gtk+" version="3.20"/>
|
|
<object class="GtkFileFilter" id="filefilter">
|
|
<mime-types>
|
|
<mime-type>image/*</mime-type>
|
|
</mime-types>
|
|
</object>
|
|
<object class="GtkFileFilter" id="jpg_filter">
|
|
<mime-types>
|
|
<mime-type>image/jpeg</mime-type>
|
|
</mime-types>
|
|
</object>
|
|
<object class="GtkFileFilter" id="png_filter">
|
|
<mime-types>
|
|
<mime-type>image/png</mime-type>
|
|
</mime-types>
|
|
</object>
|
|
<object class="GtkImage" id="preview">
|
|
<property name="width_request">200</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="margin_right">5</property>
|
|
</object>
|
|
<object class="GtkApplicationWindow" id="window">
|
|
<property name="width_request">300</property>
|
|
<property name="height_request">200</property>
|
|
<property name="can_focus">False</property>
|
|
<signal name="destroy" handler="on_window_destroy" swapped="no"/>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="homogeneous">True</property>
|
|
<child>
|
|
<object class="GtkButton" id="file_button">
|
|
<property name="label" translatable="yes">Choose an image file...</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<signal name="clicked" handler="on_file_button_clicked" swapped="no"/>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="dir_button">
|
|
<property name="label" translatable="yes">Choose folder...</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<signal name="clicked" handler="on_dir_button_clicked" swapped="no"/>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="titlebar">
|
|
<placeholder/>
|
|
</child>
|
|
</object>
|
|
<object class="GtkFileChooserDialog" id="filechooser_dialog">
|
|
<property name="width_request">800</property>
|
|
<property name="height_request">500</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="type_hint">dialog</property>
|
|
<property name="transient_for">window</property>
|
|
<property name="attached_to">window</property>
|
|
<property name="preview_widget">preview</property>
|
|
<property name="use_preview_label">False</property>
|
|
<signal name="delete-event" handler="on_dialog_close" swapped="no"/>
|
|
<signal name="file-activated" handler="on_filechooser_dialog_file_activated" swapped="no"/>
|
|
<signal name="response" handler="on_filechooser_dialog_response" swapped="no"/>
|
|
<signal name="update-preview" handler="on_filechooser_dialog_update_preview" swapped="no"/>
|
|
<child internal-child="vbox">
|
|
<object class="GtkBox" id="fcbox">
|
|
<property name="can_focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<child internal-child="action_area">
|
|
<object class="GtkButtonBox">
|
|
<property name="can_focus">False</property>
|
|
<child>
|
|
<object class="GtkButton" id="button2">
|
|
<property name="label">gtk-cancel</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<property name="use_stock">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="button1">
|
|
<property name="label">gtk-apply</property>
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="receives_default">True</property>
|
|
<property name="use_stock">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">3</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">False</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<action-widgets>
|
|
<action-widget response="-6">button2</action-widget>
|
|
<action-widget response="-5">button1</action-widget>
|
|
</action-widgets>
|
|
<child type="titlebar">
|
|
<object class="GtkHeaderBar">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="title">Choose image...</property>
|
|
<property name="show_close_button">True</property>
|
|
</object>
|
|
</child>
|
|
<action-widgets>
|
|
<action-widget response="-6">button2</action-widget>
|
|
<action-widget response="-5">button1</action-widget>
|
|
</action-widgets>
|
|
</object>
|
|
</interface>
|