2013-03-26 09:50:01 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface domain="gtk30">
|
|
|
|
<!-- interface-requires gtk+ 3.10 -->
|
|
|
|
<object class="GtkListStore" id="model">
|
|
|
|
<columns>
|
|
|
|
<!-- column-name family -->
|
|
|
|
<column type="PangoFontFamily"/>
|
|
|
|
<!-- column-name face -->
|
|
|
|
<column type="PangoFontFace"/>
|
|
|
|
<!-- column-name description -->
|
2015-07-22 13:04:34 +00:00
|
|
|
<column type="GtkDelayedFontDescription"/>
|
2013-03-26 09:50:01 +00:00
|
|
|
<!-- column-name preview-title -->
|
|
|
|
<column type="gchararray"/>
|
|
|
|
</columns>
|
|
|
|
</object>
|
|
|
|
<object class="GtkTreeModelFilter" id="filter_model">
|
|
|
|
<property name="child_model">model</property>
|
|
|
|
<signal name="row-deleted" handler="row_deleted_cb" swapped="no"/>
|
|
|
|
<signal name="row-inserted" handler="row_inserted_cb" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<object class="GtkAdjustment" id="slider_adjustment">
|
|
|
|
<property name="upper">100</property>
|
|
|
|
<property name="step_increment">1</property>
|
|
|
|
<property name="page_increment">10</property>
|
|
|
|
<signal name="value-changed" handler="size_change_cb" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<object class="GtkAdjustment" id="spin_adjustment">
|
|
|
|
<property name="upper">100</property>
|
|
|
|
<property name="step_increment">1</property>
|
|
|
|
<property name="page_increment">10</property>
|
|
|
|
<signal name="value-changed" handler="size_change_cb" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<template class="GtkFontChooserWidget" parent="GtkBox">
|
|
|
|
<child>
|
|
|
|
<object class="GtkGrid" id="grid1">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2013-03-26 09:50:01 +00:00
|
|
|
<property name="row_spacing">6</property>
|
|
|
|
<property name="column_spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSearchEntry" id="search_entry">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="can_focus">1</property>
|
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="activates_default">1</property>
|
2013-03-26 09:50:01 +00:00
|
|
|
<property name="primary_icon_name">edit-find-symbolic</property>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="primary_icon_activatable">0</property>
|
|
|
|
<property name="secondary_icon_activatable">0</property>
|
|
|
|
<property name="primary_icon_sensitive">0</property>
|
|
|
|
<property name="secondary_icon_sensitive">0</property>
|
2015-09-14 03:26:16 +00:00
|
|
|
<property name="placeholder_text" translatable="yes">Search font name</property>
|
2015-08-10 18:15:26 +00:00
|
|
|
<signal name="search-changed" handler="text_changed_cb" swapped="no"/>
|
|
|
|
<signal name="stop-search" handler="stop_search_cb" swapped="no"/>
|
2013-03-26 09:50:01 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">0</property>
|
|
|
|
<property name="top_attach">0</property>
|
|
|
|
<property name="width">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
2015-05-07 22:28:39 +00:00
|
|
|
<object class="GtkStack" id="list_stack">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2013-03-26 09:50:01 +00:00
|
|
|
<child>
|
2015-05-09 06:18:01 +00:00
|
|
|
<object class="GtkGrid">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2015-05-09 06:18:01 +00:00
|
|
|
<property name="row_spacing">6</property>
|
|
|
|
<property name="column_spacing">6</property>
|
2013-03-26 09:50:01 +00:00
|
|
|
<child>
|
2015-05-09 06:18:01 +00:00
|
|
|
<object class="GtkScrolledWindow" id="list_scrolled_window">
|
|
|
|
<property name="width_request">400</property>
|
|
|
|
<property name="height_request">300</property>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="can_focus">1</property>
|
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="vexpand">1</property>
|
2015-05-09 06:18:01 +00:00
|
|
|
<property name="hscrollbar_policy">never</property>
|
|
|
|
<property name="shadow_type">etched-in</property>
|
2013-03-26 09:50:01 +00:00
|
|
|
<child>
|
2015-05-09 06:18:01 +00:00
|
|
|
<object class="GtkTreeView" id="family_face_list">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="can_focus">1</property>
|
2015-05-09 06:18:01 +00:00
|
|
|
<property name="model">filter_model</property>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="headers_visible">0</property>
|
|
|
|
<property name="enable_search">0</property>
|
|
|
|
<property name="fixed_height_mode">1</property>
|
2015-05-09 06:18:01 +00:00
|
|
|
<signal name="cursor-changed" handler="cursor_changed_cb" swapped="no"/>
|
|
|
|
<signal name="row-activated" handler="row_activated_cb" swapped="no"/>
|
|
|
|
<signal name="style-updated" handler="gtk_font_chooser_widget_set_cell_size" object="GtkFontChooserWidget" after="yes" swapped="yes"/>
|
|
|
|
<child internal-child="selection">
|
2015-08-10 18:17:58 +00:00
|
|
|
<object class="GtkTreeSelection" id="treeview-selection1">
|
|
|
|
<property name="mode">browse</property>
|
|
|
|
</object>
|
2015-05-09 06:18:01 +00:00
|
|
|
</child>
|
2013-03-26 09:50:01 +00:00
|
|
|
<child>
|
2015-05-09 06:18:01 +00:00
|
|
|
<object class="GtkTreeViewColumn" id="family_face_column">
|
|
|
|
<property name="sizing">fixed</property>
|
2015-09-14 03:26:16 +00:00
|
|
|
<property name="title" translatable="yes">Font Family</property>
|
2015-05-09 06:18:01 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkCellRendererText" id="family_face_cell">
|
|
|
|
<property name="ellipsize">end</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2013-03-26 09:50:01 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2015-05-09 06:18:01 +00:00
|
|
|
<packing>
|
|
|
|
<property name="left_attach">0</property>
|
|
|
|
<property name="top_attach">1</property>
|
|
|
|
<property name="width">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry" id="preview">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="can_focus">1</property>
|
2015-05-09 06:18:01 +00:00
|
|
|
<property name="invisible_char">•</property>
|
2015-09-14 03:26:16 +00:00
|
|
|
<property name="placeholder-text" translatable="yes">Preview text</property>
|
2015-05-09 06:18:01 +00:00
|
|
|
<signal name="scroll-event" handler="resize_by_scroll_cb" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">0</property>
|
|
|
|
<property name="top_attach">2</property>
|
|
|
|
<property name="width">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScale" id="size_slider">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="can_focus">1</property>
|
|
|
|
<property name="hexpand">1</property>
|
2015-05-09 06:18:01 +00:00
|
|
|
<property name="adjustment">slider_adjustment</property>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="draw_value">0</property>
|
2015-05-09 06:18:01 +00:00
|
|
|
<property name="round-digits">0</property>
|
|
|
|
<signal name="scroll-event" handler="resize_by_scroll_cb" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">0</property>
|
|
|
|
<property name="top_attach">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSpinButton" id="size_spin">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="can_focus">1</property>
|
2015-05-09 06:18:01 +00:00
|
|
|
<property name="invisible_char">•</property>
|
|
|
|
<property name="adjustment">spin_adjustment</property>
|
|
|
|
<signal name="output" handler="output_cb"/>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">1</property>
|
|
|
|
<property name="top_attach">3</property>
|
|
|
|
</packing>
|
2013-03-26 09:50:01 +00:00
|
|
|
</child>
|
|
|
|
</object>
|
2015-05-07 22:28:39 +00:00
|
|
|
<packing>
|
|
|
|
<property name="name">list</property>
|
|
|
|
</packing>
|
2013-03-26 09:50:01 +00:00
|
|
|
</child>
|
|
|
|
<child>
|
2015-05-09 06:06:28 +00:00
|
|
|
<object class="GtkGrid">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2015-05-12 00:03:08 +00:00
|
|
|
<property name="row_spacing">12</property>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="vexpand">1</property>
|
2013-03-26 09:50:01 +00:00
|
|
|
<property name="halign">center</property>
|
2015-05-09 06:06:28 +00:00
|
|
|
<property name="valign">center</property>
|
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2015-05-12 00:03:08 +00:00
|
|
|
<property name="gicon">fonticon</property>
|
2015-05-09 06:06:28 +00:00
|
|
|
<property name="pixel-size">64</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">0</property>
|
|
|
|
<property name="top_attach">0</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2015-09-14 03:26:16 +00:00
|
|
|
<property name="label" translatable="yes">No Fonts Found</property>
|
2015-05-09 06:06:28 +00:00
|
|
|
<attributes>
|
|
|
|
<attribute name="weight" value="bold"/>
|
|
|
|
<attribute name="scale" value="1.2"/>
|
|
|
|
</attributes>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2015-05-12 00:03:08 +00:00
|
|
|
<property name="left_attach">0</property>
|
|
|
|
<property name="top_attach">1</property>
|
2015-05-09 06:06:28 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
2013-03-26 09:50:01 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2015-05-07 22:28:39 +00:00
|
|
|
<property name="name">empty</property>
|
2013-03-26 09:50:01 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
|
|
|
<property name="left_attach">0</property>
|
|
|
|
<property name="top_attach">1</property>
|
|
|
|
<property name="width">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="expand">1</property>
|
2013-03-26 09:50:01 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</template>
|
2015-05-12 00:03:08 +00:00
|
|
|
<object class="GThemedIcon" id="fonticon">
|
|
|
|
<property name="names">font-x-generic-symbolic
|
|
|
|
emblem-documents-symbolic</property>
|
|
|
|
</object>
|
2013-03-26 09:50:01 +00:00
|
|
|
</interface>
|