forked from AuroraMiddleware/gtk
102 lines
4.0 KiB
Plaintext
102 lines
4.0 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<interface domain="gtk30">
|
||
|
<!-- interface-requires gtk+ 3.10 -->
|
||
|
<object class="GtkListStore" id="program_list_store">
|
||
|
<columns>
|
||
|
<!-- column-name app-info -->
|
||
|
<column type="GAppInfo"/>
|
||
|
<!-- column-name app-icon -->
|
||
|
<column type="GIcon"/>
|
||
|
<!-- column-name name -->
|
||
|
<column type="gchararray"/>
|
||
|
<!-- column-name description -->
|
||
|
<column type="gchararray"/>
|
||
|
<!-- column-name exec -->
|
||
|
<column type="gchararray"/>
|
||
|
<!-- column-name default -->
|
||
|
<column type="gboolean"/>
|
||
|
<!-- column-name heading -->
|
||
|
<column type="gboolean"/>
|
||
|
<!-- column-name heading-text -->
|
||
|
<column type="gchararray"/>
|
||
|
<!-- column-name recommended -->
|
||
|
<column type="gboolean"/>
|
||
|
<!-- column-name fallback -->
|
||
|
<column type="gboolean"/>
|
||
|
</columns>
|
||
|
</object>
|
||
|
<object class="GtkTreeModelSort" id="program_list_sort">
|
||
|
<property name="model">program_list_store</property>
|
||
|
</object>
|
||
|
<template class="GtkAppChooserWidget" parent="GtkBox">
|
||
|
<property name="can_focus">False</property>
|
||
|
<property name="orientation">vertical</property>
|
||
|
<child>
|
||
|
<object class="GtkScrolledWindow" id="scrolled_window">
|
||
|
<property name="width_request">400</property>
|
||
|
<property name="height_request">300</property>
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">True</property>
|
||
|
<property name="hscrollbar_policy">never</property>
|
||
|
<property name="shadow_type">in</property>
|
||
|
<child>
|
||
|
<object class="GtkTreeView" id="program_list">
|
||
|
<property name="visible">True</property>
|
||
|
<property name="can_focus">True</property>
|
||
|
<property name="model">program_list_sort</property>
|
||
|
<property name="headers_visible">False</property>
|
||
|
<signal name="button-press-event" handler="widget_button_press_event_cb" swapped="no"/>
|
||
|
<signal name="row-activated" handler="program_list_selection_activated" swapped="no"/>
|
||
|
<child internal-child="selection">
|
||
|
<object class="GtkTreeSelection" id="treeview-selection2">
|
||
|
<property name="mode">browse</property>
|
||
|
<signal name="changed" handler="refresh_and_emit_app_selected" object="GtkAppChooserWidget" swapped="yes"/>
|
||
|
</object>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkTreeViewColumn" id="column">
|
||
|
<child>
|
||
|
<object class="GtkCellRendererText" id="padding_renderer"/>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkCellRendererText" id="heading">
|
||
|
<property name="ypad">6</property>
|
||
|
<property name="wrap_mode">word</property>
|
||
|
<property name="wrap_width">350</property>
|
||
|
</object>
|
||
|
<attributes>
|
||
|
<attribute name="visible">6</attribute>
|
||
|
<attribute name="markup">7</attribute>
|
||
|
</attributes>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkCellRendererText" id="secondary_padding"/>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkCellRendererPixbuf" id="app_icon"/>
|
||
|
<attributes>
|
||
|
<attribute name="gicon">1</attribute>
|
||
|
</attributes>
|
||
|
</child>
|
||
|
<child>
|
||
|
<object class="GtkCellRendererText" id="app_name">
|
||
|
<property name="ellipsize">end</property>
|
||
|
</object>
|
||
|
<attributes>
|
||
|
<attribute name="markup">3</attribute>
|
||
|
</attributes>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
</child>
|
||
|
</object>
|
||
|
<packing>
|
||
|
<property name="expand">True</property>
|
||
|
<property name="fill">True</property>
|
||
|
<property name="position">0</property>
|
||
|
</packing>
|
||
|
</child>
|
||
|
</template>
|
||
|
</interface>
|