gtk2/demos/icon-browser/window.ui

322 lines
13 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.8 -->
<object class="GtkListStore" id="store">
<columns>
<column type="gchararray"/>
<column type="gchararray"/>
<column type="gchararray"/>
2014-07-27 07:32:10 +00:00
<column type="gchararray"/>
</columns>
</object>
2014-07-27 07:32:10 +00:00
<object class="GtkTreeModelFilter" id="filter_model">
<property name="child_model">store</property>
</object>
<template class="IconBrowserWindow" parent="GtkApplicationWindow">
<property name="title" translatable="yes">Icon Browser</property>
<property name="default-width">600</property>
<property name="default-height">800</property>
<child type="titlebar">
<object class="GtkHeaderBar" id="header">
<property name="visible">True</property>
<property name="title" translatable="yes">Icon Browser</property>
<property name="show-close-button">True</property>
2014-07-27 07:32:10 +00:00
<child type="title">
<object class="GtkBox">
<property name="visible">True</property>
<style>
<class name="linked"/>
</style>
<child>
<object class="GtkRadioButton" id="normal_radio">
<property name="visible">True</property>
<property name="draw_indicator">False</property>
<property name="label" translatable="yes">Normal</property>
</object>
</child>
<child>
<object class="GtkRadioButton" id="symbolic_radio">
<property name="visible">True</property>
<property name="draw_indicator">False</property>
<property name="label" translatable="yes">Symbolic</property>
<property name="group">normal_radio</property>
<signal name="toggled" handler="symbolic_toggled"/>
</object>
</child>
</object>
</child>
<child>
<object class="GtkToggleButton" id="search">
<property name="visible">True</property>
<style>
<class name="image-button"/>
</style>
<child>
<object class="GtkImage" id="search-icon">
<property name="visible">True</property>
<property name="icon-name">edit-find-symbolic</property>
<property name="icon-size">1</property>
</object>
</child>
</object>
<packing>
<property name="pack-type">end</property>
</packing>
</child>
</object>
</child>
<child>
2014-07-27 07:32:10 +00:00
<object class="GtkBox">
<property name="visible">True</property>
2014-07-27 07:32:10 +00:00
<property name="orientation">horizontal</property>
<child>
2014-07-27 07:32:10 +00:00
<object class="GtkListBox" id="context_list">
<property name="visible">True</property>
2014-07-27 07:32:10 +00:00
<property name="selection_mode">single</property>
<signal name="selected-rows-changed" handler="selected_context_changed"/>
</object>
</child>
<child>
2014-07-27 07:32:10 +00:00
<object class="GtkBox" id="content_box">
<property name="visible">True</property>
2014-07-27 07:32:10 +00:00
<property name="orientation">vertical</property>
<child>
2014-07-27 07:32:10 +00:00
<object class="GtkSearchBar" id="searchbar">
<property name="visible">True</property>
2014-07-27 07:32:10 +00:00
<child>
<object class="GtkSearchEntry" id="searchentry">
<signal name="search-changed" handler="search_text_changed"/>
<property name="visible">True</property>
</object>
</child>
2014-07-27 07:32:10 +00:00
</object>
</child>
<child>
<object class="GtkScrolledWindow" id="sw">
<property name="visible">True</property>
<property name="expand">True</property>
<property name="hscrollbar-policy">never</property>
<property name="vscrollbar-policy">automatic</property>
<property name="shadow-type">in</property>
<child>
2014-07-27 07:32:10 +00:00
<object class="GtkIconView" id="list">
<property name="visible">True</property>
2014-07-27 07:32:10 +00:00
<property name="model">filter_model</property>
<signal name="selection_changed" handler="selection_changed"/>
<signal name="item_activated" handler="item_activated"/>
<child>
<object class="GtkCellRendererPixbuf" id="cell">
<property name="xpad">10</property>
2014-07-27 07:32:10 +00:00
<property name="ypad">10</property>
<property name="stock-size">5</property>
</object>
2014-07-27 11:44:41 +00:00
</child>
<child>
<object class="GtkCellRendererText" id="text_cell">
<property name="xpad">10</property>
<property name="ypad">10</property>
<property name="xalign">0.5</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
2014-07-27 07:32:10 +00:00
</object>
</child>
</template>
<object class="GtkSizeGroup">
<property name="mode">vertical</property>
<widgets>
<widget name="normal_radio"/>
<widget name="symbolic_radio"/>
<widget name="search"/>
</widgets>
</object>
<object class="GtkDialog" id="details">
<property name="modal">True</property>
<property name="use-header-bar">1</property>
2014-07-27 11:44:41 +00:00
<property name="resizable">False</property>
2014-07-27 07:32:10 +00:00
<signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
<child internal-child="vbox">
<object class="GtkBox">
<child>
<object class="GtkGrid">
<property name="visible">True</property>
<property name="margin">10</property>
<property name="row-spacing">10</property>
<property name="column-spacing">10</property>
<child>
2014-07-27 11:44:41 +00:00
<object class="GtkImage" id="image1">
<property name="visible">True</property>
2014-07-27 11:44:41 +00:00
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
<property name="valign">end</property>
</object>
<packing>
<property name="left-attach">0</property>
2014-07-27 11:44:41 +00:00
<property name="top-attach">1</property>
</packing>
</child>
<child>
2014-07-27 11:44:41 +00:00
<object class="GtkImage" id="image2">
<property name="visible">True</property>
2014-07-27 11:44:41 +00:00
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
<property name="valign">end</property>
</object>
<packing>
<property name="left-attach">1</property>
2014-07-27 11:44:41 +00:00
<property name="top-attach">1</property>
</packing>
</child>
<child>
2014-07-27 11:44:41 +00:00
<object class="GtkImage" id="image3">
<property name="visible">True</property>
2014-07-27 11:44:41 +00:00
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
<property name="valign">end</property>
</object>
<packing>
2014-07-27 11:44:41 +00:00
<property name="left-attach">2</property>
<property name="top-attach">1</property>
</packing>
</child>
<child>
2014-07-27 11:44:41 +00:00
<object class="GtkImage" id="image4">
<property name="visible">True</property>
2014-07-27 11:44:41 +00:00
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
<property name="valign">end</property>
</object>
<packing>
2014-07-27 11:44:41 +00:00
<property name="left-attach">3</property>
<property name="top-attach">1</property>
</packing>
</child>
<child>
2014-07-27 11:44:41 +00:00
<object class="GtkImage" id="image5">
<property name="visible">True</property>
2014-07-27 11:44:41 +00:00
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
<property name="valign">end</property>
</object>
<packing>
2014-07-27 11:44:41 +00:00
<property name="left-attach">4</property>
<property name="top-attach">1</property>
</packing>
</child>
2014-07-27 11:44:41 +00:00
<child>
2014-07-27 11:44:41 +00:00
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
2014-07-27 11:44:41 +00:00
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="label">16x16</property>
<style>
<class name="dim-label"/>
</style>
</object>
<packing>
2014-07-27 11:44:41 +00:00
<property name="left-attach">0</property>
<property name="top-attach">2</property>
</packing>
</child>
<child>
2014-07-27 11:44:41 +00:00
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
2014-07-27 11:44:41 +00:00
<property name="valign">center</property>
<property name="label">24x24</property>
<style>
<class name="dim-label"/>
</style>
</object>
2014-07-27 11:44:41 +00:00
<packing>
<property name="left-attach">1</property>
<property name="top-attach">2</property>
</packing>
</child>
<child>
2014-07-27 11:44:41 +00:00
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
2014-07-27 11:44:41 +00:00
<property name="valign">center</property>
<property name="label">32x32</property>
<style>
<class name="dim-label"/>
</style>
</object>
2014-07-27 11:44:41 +00:00
<packing>
<property name="left-attach">2</property>
<property name="top-attach">2</property>
</packing>
</child>
<child>
2014-07-27 11:44:41 +00:00
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
2014-07-27 11:44:41 +00:00
<property name="valign">center</property>
<property name="label">48x48</property>
<style>
<class name="dim-label"/>
</style>
</object>
2014-07-27 11:44:41 +00:00
<packing>
<property name="left-attach">3</property>
<property name="top-attach">2</property>
</packing>
</child>
<child>
2014-07-27 11:44:41 +00:00
<object class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="xpad">4</property>
<property name="ypad">4</property>
<property name="halign">center</property>
2014-07-27 11:44:41 +00:00
<property name="valign">center</property>
<property name="label">64x64</property>
<style>
<class name="dim-label"/>
</style>
</object>
2014-07-27 11:44:41 +00:00
<packing>
<property name="left-attach">4</property>
<property name="top-attach">2</property>
</packing>
</child>
<child>
2014-07-27 11:44:41 +00:00
<object class="GtkLabel" id="description">
<property name="visible">True</property>
2014-07-27 11:44:41 +00:00
<property name="wrap">True</property>
<property name="max-width-chars">60</property>
<property name="xalign">0</property>
<property name="valign">start</property>
</object>
2014-07-27 11:44:41 +00:00
<packing>
<property name="left-attach">0</property>
<property name="top-attach">3</property>
<property name="width">5</property>
</packing>
</child>
</object>
</child>
</object>
</child>
2014-07-27 07:32:10 +00:00
</object>
</interface>