forked from AuroraMiddleware/gtk
c92b7d4224
GtkWidget:halign and GtkWidget:valign are sufficient
95 lines
3.9 KiB
XML
95 lines
3.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="gtk30">
|
|
<!-- interface-requires gtk+ 3.10 -->
|
|
<object class="GtkListStore" id="recent_store">
|
|
<columns>
|
|
<!-- column-name uri -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name display-name -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name info -->
|
|
<column type="GtkRecentInfo"/>
|
|
</columns>
|
|
</object>
|
|
<template class="GtkRecentChooserDefault" parent="GtkBox">
|
|
<property name="can-focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">6</property>
|
|
<property name="expand">0</property>
|
|
<child>
|
|
<object class="GtkScrolledWindow" id="scrolledwindow">
|
|
<property name="visible">1</property>
|
|
<property name="can-focus">1</property>
|
|
<property name="hscrollbar-policy">never</property>
|
|
<property name="shadow-type">in</property>
|
|
<property name="vexpand">1</property>
|
|
<child>
|
|
<object class="GtkTreeView" id="recent_view">
|
|
<property name="visible">1</property>
|
|
<property name="can-focus">1</property>
|
|
<property name="has-tooltip">1</property>
|
|
<property name="headers-visible">0</property>
|
|
<property name="expand">1</property>
|
|
<signal name="button-press-event" handler="recent_view_button_press_cb" swapped="no"/>
|
|
<signal name="drag-begin" handler="recent_view_drag_begin_cb" swapped="no"/>
|
|
<signal name="drag-data-get" handler="recent_view_drag_data_get_cb" swapped="no"/>
|
|
<signal name="popup-menu" handler="recent_view_popup_menu_cb" swapped="no"/>
|
|
<signal name="query-tooltip" handler="recent_view_query_tooltip_cb" swapped="no"/>
|
|
<signal name="row-activated" handler="row_activated_cb" swapped="no"/>
|
|
<child internal-child="selection">
|
|
<object class="GtkTreeSelection" id="selection">
|
|
<signal name="changed" handler="selection_changed_cb" swapped="no"/>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="icon_column">
|
|
<property name="title">icon</property>
|
|
<child>
|
|
<object class="GtkCellRendererPixbuf" id="icon_renderer">
|
|
<property name="stock-size">4</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="meta_column">
|
|
<property name="title">meta</property>
|
|
<property name="expand">1</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="meta_renderer">
|
|
<property name="ellipsize">end</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox" id="filter_combo_hbox">
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkComboBoxText" id="filter_combo">
|
|
<property name="visible">1</property>
|
|
<property name="tooltip-text" translatable="yes">Select which type of documents are shown</property>
|
|
<property name="focus-on-click">0</property>
|
|
<property name="entry-text-column">0</property>
|
|
<property name="id-column">1</property>
|
|
<signal name="changed" handler="filter_combo_changed_cb" swapped="no"/>
|
|
</object>
|
|
<packing>
|
|
<property name="pack-type">end</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</template>
|
|
</interface>
|