2020-10-31 13:43:09 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- Generated with glade 3.36.0 -->
|
|
|
|
<interface>
|
|
|
|
<requires lib="gtk+" version="3.22"/>
|
2020-10-31 14:03:31 +00:00
|
|
|
<object class="GtkWindow" id="window">
|
2020-10-31 18:21:17 +00:00
|
|
|
<property name="width_request">450</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="can_focus">False</property>
|
2020-10-31 16:43:21 +00:00
|
|
|
<property name="title" translatable="yes">Key Mapper</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="resizable">False</property>
|
2020-10-31 14:03:31 +00:00
|
|
|
<signal name="delete-event" handler="on_close" swapped="no"/>
|
2020-10-31 13:43:09 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<child>
|
2020-11-02 19:55:17 +00:00
|
|
|
<object class="GtkBox">
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="orientation">vertical</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
<child>
|
2020-11-02 19:55:17 +00:00
|
|
|
<object class="GtkBox" id="devices">
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="border_width">10</property>
|
|
|
|
<property name="spacing">10</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="label" translatable="yes">Device</property>
|
|
|
|
<property name="width_chars">13</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkComboBoxText" id="device_selection">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<signal name="changed" handler="on_select_device" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2020-10-31 13:43:09 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2020-10-31 16:00:02 +00:00
|
|
|
<child>
|
2020-11-02 19:55:17 +00:00
|
|
|
<object class="GtkSeparator">
|
2020-10-31 16:00:02 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="expand">False</property>
|
2020-10-31 16:00:02 +00:00
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2020-10-31 13:43:09 +00:00
|
|
|
<child>
|
2020-11-02 19:55:17 +00:00
|
|
|
<object class="GtkBox" id="preset_settings">
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="border_width">10</property>
|
|
|
|
<property name="orientation">vertical</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="spacing">10</property>
|
|
|
|
<child>
|
2020-11-02 19:55:17 +00:00
|
|
|
<object class="GtkBox" id="button_container">
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="visible">True</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="spacing">10</property>
|
|
|
|
<child>
|
2020-11-02 20:57:28 +00:00
|
|
|
<object class="GtkButton" id="apply_preset">
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="label">gtk-apply</property>
|
|
|
|
<property name="width_request">80</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="use_stock">True</property>
|
2020-11-02 20:57:28 +00:00
|
|
|
<signal name="clicked" handler="on_apply_preset_clicked" swapped="no"/>
|
2020-11-02 19:55:17 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="create_preset2">
|
|
|
|
<property name="label">gtk-save</property>
|
|
|
|
<property name="width_request">80</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">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="create_preset">
|
|
|
|
<property name="label">gtk-new</property>
|
|
|
|
<property name="width_request">80</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
<signal name="clicked" handler="on_create_preset_clicked" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSeparator">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="opacity">0</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="create_preset3">
|
|
|
|
<property name="label">gtk-delete</property>
|
|
|
|
<property name="width_request">80</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">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">4</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2020-10-31 13:43:09 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="expand">False</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2020-11-02 19:55:17 +00:00
|
|
|
<object class="GtkBox" id="preset_dropdown_container">
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="visible">True</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="spacing">10</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="width_request">50</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="label" translatable="yes">preset</property>
|
|
|
|
<property name="width_chars">13</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkComboBoxText" id="preset_selection">
|
|
|
|
<property name="width_request">200</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<signal name="changed" handler="on_select_preset" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2020-10-31 13:43:09 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="expand">False</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2020-10-31 16:00:02 +00:00
|
|
|
<child>
|
2020-11-02 19:55:17 +00:00
|
|
|
<object class="GtkBox" id="rename_container">
|
2020-10-31 16:00:02 +00:00
|
|
|
<property name="visible">True</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="spacing">10</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="label" translatable="yes">Rename</property>
|
|
|
|
<property name="width_chars">13</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">True</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2020-10-31 16:00:02 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="expand">False</property>
|
2020-10-31 16:00:02 +00:00
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2020-10-31 13:43:09 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="position">2</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
2020-11-02 19:55:17 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</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">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="width_request">200</property>
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="orientation">vertical</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
<child>
|
2020-11-02 19:55:17 +00:00
|
|
|
<object class="GtkBox" id="add_mapping">
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="border_width">10</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
2020-10-31 18:21:17 +00:00
|
|
|
<property name="width_request">50</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="label" translatable="yes">Mapping</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="xalign">0</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="expand">True</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2020-11-02 19:55:17 +00:00
|
|
|
<object class="GtkButton" id="add_key">
|
|
|
|
<property name="label">gtk-add</property>
|
|
|
|
<property name="width_request">80</property>
|
2020-10-31 16:00:02 +00:00
|
|
|
<property name="visible">True</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="can_focus">True</property>
|
|
|
|
<property name="receives_default">True</property>
|
|
|
|
<property name="use_stock">True</property>
|
|
|
|
<signal name="clicked" handler="on_add_key_clicked" swapped="no"/>
|
2020-10-31 16:00:02 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="expand">False</property>
|
2020-10-31 16:00:02 +00:00
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
2020-10-31 18:21:17 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="position">0</property>
|
2020-10-31 18:21:17 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2020-11-02 19:55:17 +00:00
|
|
|
<object class="GtkGrid" id="key_list">
|
2020-10-31 18:21:17 +00:00
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can_focus">False</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="margin_start">10</property>
|
|
|
|
<property name="margin_end">10</property>
|
|
|
|
<property name="margin_bottom">10</property>
|
|
|
|
<property name="row_spacing">2</property>
|
|
|
|
<property name="column_spacing">2</property>
|
2020-10-31 16:00:02 +00:00
|
|
|
<child>
|
2020-10-31 18:21:17 +00:00
|
|
|
<object class="GtkLabel">
|
2020-10-31 13:43:09 +00:00
|
|
|
<property name="visible">True</property>
|
2020-10-31 18:21:17 +00:00
|
|
|
<property name="can_focus">False</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="label" translatable="yes">Mapping</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="left_attach">2</property>
|
|
|
|
<property name="top_attach">0</property>
|
2020-10-31 18:21:17 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2020-11-02 19:55:17 +00:00
|
|
|
<object class="GtkLabel">
|
2020-10-31 18:21:17 +00:00
|
|
|
<property name="visible">True</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="can_focus">False</property>
|
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="label" translatable="yes">Key</property>
|
2020-10-31 18:21:17 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="top_attach">0</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
2020-11-02 19:55:17 +00:00
|
|
|
<child>
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
2020-10-31 16:00:02 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">True</property>
|
|
|
|
<property name="fill">True</property>
|
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="expand">False</property>
|
|
|
|
<property name="fill">True</property>
|
2020-11-02 19:55:17 +00:00
|
|
|
<property name="position">2</property>
|
2020-10-31 13:43:09 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child type="titlebar">
|
|
|
|
<placeholder/>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</interface>
|