2019-04-04 23:08:18 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2017-08-05 22:17:29 +00:00
|
|
|
<interface domain="gtk40">
|
2019-11-28 03:00:39 +00:00
|
|
|
<object class="GtkSingleSelection" id="selection">
|
|
|
|
<signal name="notify::selected-item" handler="selection_changed_cb" object="GtkFontChooserWidget" swapped="0" />
|
|
|
|
<signal name="items-changed" handler="rows_changed_cb" object="GtkFontChooserWidget" swapped="1" />
|
|
|
|
<property name="model">
|
|
|
|
<object class="GtkFilterListModel" id="filter_model">
|
|
|
|
<property name="filter">
|
|
|
|
<object class="GtkEveryFilter">
|
|
|
|
<child>
|
|
|
|
<object class="GtkStringFilter">
|
|
|
|
<binding name="search">
|
|
|
|
<lookup name="text">search_entry</lookup>
|
|
|
|
</binding>
|
|
|
|
<property name="expression">
|
|
|
|
<closure type="gchararray" swapped="1" function="get_font_name" />
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkCustomFilter" id="custom_filter">
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</property>
|
2013-03-26 09:50:01 +00:00
|
|
|
</object>
|
|
|
|
<object class="GtkAdjustment" id="slider_adjustment">
|
|
|
|
<property name="upper">100</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="step-increment">1</property>
|
|
|
|
<property name="page-increment">10</property>
|
2013-03-26 09:50:01 +00:00
|
|
|
<signal name="value-changed" handler="size_change_cb" swapped="no"/>
|
|
|
|
</object>
|
|
|
|
<object class="GtkAdjustment" id="spin_adjustment">
|
|
|
|
<property name="upper">100</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="step-increment">1</property>
|
|
|
|
<property name="page-increment">10</property>
|
2013-03-26 09:50:01 +00:00
|
|
|
<signal name="value-changed" handler="size_change_cb" swapped="no"/>
|
|
|
|
</object>
|
2017-03-25 19:49:00 +00:00
|
|
|
<template class="GtkFontChooserWidget" parent="GtkWidget">
|
2013-03-26 09:50:01 +00:00
|
|
|
<child>
|
2018-01-03 03:52:05 +00:00
|
|
|
<object class="GtkStack" id="stack">
|
2013-03-26 09:50:01 +00:00
|
|
|
<child>
|
2019-02-07 08:23:02 +00:00
|
|
|
<object class="GtkStackPage">
|
|
|
|
<property name="name">list</property>
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkGrid" id="grid">
|
|
|
|
<property name="row-spacing">6</property>
|
|
|
|
<property name="column-spacing">6</property>
|
2013-03-26 09:50:01 +00:00
|
|
|
<child>
|
2019-02-07 08:23:02 +00:00
|
|
|
<object class="GtkSearchEntry" id="search_entry">
|
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="activates-default">1</property>
|
|
|
|
<property name="placeholder-text" translatable="yes">Search font name</property>
|
|
|
|
<signal name="stop-search" handler="stop_search_cb" swapped="no"/>
|
2019-04-04 23:08:18 +00:00
|
|
|
<layout>
|
2020-08-02 18:13:14 +00:00
|
|
|
<property name="column">0</property>
|
|
|
|
<property name="row">0</property>
|
2019-04-04 23:08:18 +00:00
|
|
|
</layout>
|
2019-02-07 08:23:02 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkStack" id="list_stack">
|
2013-03-26 09:50:01 +00:00
|
|
|
<child>
|
2019-02-07 08:23:02 +00:00
|
|
|
<object class="GtkStackPage">
|
|
|
|
<property name="name">list</property>
|
|
|
|
<property name="child">
|
2019-11-28 03:00:39 +00:00
|
|
|
<object class="GtkGrid">
|
2019-02-07 08:23:02 +00:00
|
|
|
<property name="row-spacing">6</property>
|
|
|
|
<property name="column-spacing">6</property>
|
|
|
|
<child>
|
2019-11-28 03:00:39 +00:00
|
|
|
<object class="GtkScrolledWindow">
|
2019-02-07 08:23:02 +00:00
|
|
|
<property name="width-request">400</property>
|
|
|
|
<property name="height-request">300</property>
|
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="vexpand">1</property>
|
|
|
|
<property name="hscrollbar-policy">never</property>
|
2020-04-17 03:25:06 +00:00
|
|
|
<property name="has-frame">1</property>
|
2019-02-07 08:23:02 +00:00
|
|
|
<child>
|
2019-11-28 03:00:39 +00:00
|
|
|
<object class="GtkListView" id="family_face_list">
|
|
|
|
<property name="can-focus">1</property>
|
|
|
|
<property name="model">selection</property>
|
|
|
|
<signal name="activate" handler="row_activated_cb" swapped="no"/>
|
|
|
|
<property name="factory">
|
|
|
|
<object class="GtkBuilderListItemFactory">
|
|
|
|
<property name="bytes"><![CDATA[
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<template class="GtkListItem">
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="margin-start">20</property>
|
|
|
|
<property name="margin-end">20</property>
|
|
|
|
<property name="margin-top">10</property>
|
|
|
|
<property name="margin-bottom">10</property>
|
|
|
|
<property name="ellipsize">end</property>
|
|
|
|
<binding name="label">
|
|
|
|
<closure type="gchararray" function="get_font_name">
|
|
|
|
<lookup name="item">GtkListItem</lookup>
|
|
|
|
</closure>
|
|
|
|
</binding>
|
|
|
|
<binding name="attributes">
|
|
|
|
<closure type="PangoAttrList" function="get_font_attributes">
|
|
|
|
<lookup name="item">GtkListItem</lookup>
|
|
|
|
</closure>
|
|
|
|
</binding>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</template>
|
|
|
|
</interface>
|
|
|
|
]]></property>
|
2019-02-07 08:23:02 +00:00
|
|
|
</object>
|
2019-11-28 03:00:39 +00:00
|
|
|
</property>
|
2019-02-07 08:23:02 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2019-04-04 23:08:18 +00:00
|
|
|
<layout>
|
2020-08-02 18:13:14 +00:00
|
|
|
<property name="column">0</property>
|
|
|
|
<property name="row">1</property>
|
2019-04-04 23:08:18 +00:00
|
|
|
<property name="column-span">3</property>
|
|
|
|
</layout>
|
2018-01-03 03:52:05 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2015-05-09 06:18:01 +00:00
|
|
|
<child>
|
2019-02-07 08:23:02 +00:00
|
|
|
<object class="GtkEntry" id="preview">
|
|
|
|
<property name="placeholder-text" translatable="yes">Preview text</property>
|
2018-01-03 03:52:05 +00:00
|
|
|
<child>
|
2019-02-07 08:23:02 +00:00
|
|
|
<object class="GtkEventControllerScroll">
|
|
|
|
<property name="flags" translatable="yes">horizontal</property>
|
|
|
|
<signal name="scroll" handler="resize_by_scroll_cb"/>
|
2018-01-03 03:52:05 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2019-04-04 23:08:18 +00:00
|
|
|
<layout>
|
2020-08-02 18:13:14 +00:00
|
|
|
<property name="column">0</property>
|
|
|
|
<property name="row">2</property>
|
2019-04-04 23:08:18 +00:00
|
|
|
<property name="column-span">3</property>
|
|
|
|
</layout>
|
2015-05-09 06:18:01 +00:00
|
|
|
</object>
|
2019-02-07 08:23:02 +00:00
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="size_label">
|
|
|
|
<property name="label" translatable="yes">Size</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="valign">baseline</property>
|
2019-04-04 23:08:18 +00:00
|
|
|
<layout>
|
2020-08-02 18:13:14 +00:00
|
|
|
<property name="column">0</property>
|
|
|
|
<property name="row">3</property>
|
2019-04-04 23:08:18 +00:00
|
|
|
</layout>
|
2019-02-07 08:23:02 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScale" id="size_slider">
|
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="adjustment">slider_adjustment</property>
|
|
|
|
<property name="draw-value">0</property>
|
|
|
|
<property name="round-digits">0</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEventControllerScroll">
|
|
|
|
<property name="flags" translatable="yes">horizontal</property>
|
|
|
|
<signal name="scroll" handler="resize_by_scroll_cb"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
2019-04-04 23:08:18 +00:00
|
|
|
<layout>
|
2020-08-02 18:13:14 +00:00
|
|
|
<property name="column">1</property>
|
|
|
|
<property name="row">3</property>
|
2019-04-04 23:08:18 +00:00
|
|
|
</layout>
|
2019-02-07 08:23:02 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSpinButton" id="size_spin">
|
|
|
|
<property name="adjustment">spin_adjustment</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<signal name="output" handler="output_cb"/>
|
2019-04-04 23:08:18 +00:00
|
|
|
<layout>
|
2020-08-02 18:13:14 +00:00
|
|
|
<property name="column">2</property>
|
|
|
|
<property name="row">3</property>
|
2019-04-04 23:08:18 +00:00
|
|
|
</layout>
|
2019-02-07 08:23:02 +00:00
|
|
|
</object>
|
2015-05-09 06:18:01 +00:00
|
|
|
</child>
|
2013-03-26 09:50:01 +00:00
|
|
|
</object>
|
2019-02-07 08:23:02 +00:00
|
|
|
</property>
|
2018-01-03 03:52:05 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2019-02-07 08:23:02 +00:00
|
|
|
<object class="GtkStackPage">
|
|
|
|
<property name="name">empty</property>
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkGrid">
|
|
|
|
<property name="row-spacing">12</property>
|
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="vexpand">1</property>
|
|
|
|
<property name="halign">center</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="gicon">fonticon</property>
|
|
|
|
<property name="pixel-size">64</property>
|
2019-04-04 23:08:18 +00:00
|
|
|
<layout>
|
2020-08-02 18:13:14 +00:00
|
|
|
<property name="column">0</property>
|
|
|
|
<property name="row">0</property>
|
2019-04-04 23:08:18 +00:00
|
|
|
</layout>
|
2019-02-07 08:23:02 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="label" translatable="yes">No Fonts Found</property>
|
|
|
|
<attributes>
|
|
|
|
<attribute name="weight" value="bold"></attribute>
|
|
|
|
<attribute name="scale" value="1.2"></attribute>
|
|
|
|
</attributes>
|
2019-04-04 23:08:18 +00:00
|
|
|
<layout>
|
2020-08-02 18:13:14 +00:00
|
|
|
<property name="column">0</property>
|
|
|
|
<property name="row">1</property>
|
2019-04-04 23:08:18 +00:00
|
|
|
</layout>
|
2019-02-07 08:23:02 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2018-03-10 17:29:57 +00:00
|
|
|
</object>
|
2019-02-07 08:23:02 +00:00
|
|
|
</property>
|
2018-01-03 03:52:05 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2019-04-04 23:08:18 +00:00
|
|
|
<layout>
|
2020-08-02 18:13:14 +00:00
|
|
|
<property name="column">0</property>
|
|
|
|
<property name="row">1</property>
|
2019-04-04 23:08:18 +00:00
|
|
|
</layout>
|
2015-05-09 06:18:01 +00:00
|
|
|
</object>
|
2013-03-26 09:50:01 +00:00
|
|
|
</child>
|
|
|
|
</object>
|
2019-02-07 08:23:02 +00:00
|
|
|
</property>
|
2018-01-03 03:52:05 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2019-02-07 08:23:02 +00:00
|
|
|
<object class="GtkStackPage">
|
|
|
|
<property name="name">tweaks</property>
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">6</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="font_name_label">
|
|
|
|
<property name="margin-top">6</property>
|
|
|
|
<property name="margin-bottom">6</property>
|
|
|
|
<property name="margin-start">12</property>
|
|
|
|
<property name="margin-end">12</property>
|
|
|
|
<property name="ellipsize">end</property>
|
|
|
|
<property name="xalign">0</property>
|
2019-11-28 03:00:39 +00:00
|
|
|
<binding name="label" object="GtkFontChooserWidget">
|
|
|
|
<closure type="gchararray" function="get_font_name">
|
|
|
|
<lookup name="selected-item">selection</lookup>
|
|
|
|
</closure>
|
|
|
|
</binding>
|
|
|
|
<binding name="attributes" object="GtkFontChooserWidget">
|
|
|
|
<closure type="PangoAttrList" function="get_font_attributes">
|
|
|
|
<lookup name="selected-item">selection</lookup>
|
|
|
|
</closure>
|
|
|
|
</binding>
|
2019-02-07 08:23:02 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkEntry" id="preview2">
|
|
|
|
<property name="placeholder-text" translatable="yes">Preview text</property>
|
2019-03-28 20:35:55 +00:00
|
|
|
<property name="text" bind-source="preview" bind-property="text" bind-flags="bidirectional"/>
|
|
|
|
<property name="attributes" bind-source="preview" bind-property="attributes" bind-flags="bidirectional"/>
|
2019-02-07 08:23:02 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2015-05-09 06:06:28 +00:00
|
|
|
<child>
|
2019-02-07 08:23:02 +00:00
|
|
|
<object class="GtkScrolledWindow">
|
|
|
|
<property name="hscrollbar-policy">never</property>
|
2020-04-17 03:25:06 +00:00
|
|
|
<property name="has-frame">1</property>
|
2019-02-07 08:23:02 +00:00
|
|
|
<property name="vexpand">1</property>
|
|
|
|
<style>
|
|
|
|
<class name="view"/>
|
|
|
|
</style>
|
2018-01-03 03:52:05 +00:00
|
|
|
<child>
|
2019-02-07 08:23:02 +00:00
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">12</property>
|
2020-02-26 01:57:20 +00:00
|
|
|
<property name="margin-start">12</property>
|
|
|
|
<property name="margin-end">12</property>
|
|
|
|
<property name="margin-top">12</property>
|
|
|
|
<property name="margin-bottom">12</property>
|
2018-01-03 03:52:05 +00:00
|
|
|
<child>
|
2019-02-07 08:23:02 +00:00
|
|
|
<object class="GtkGrid" id="axis_grid">
|
|
|
|
<property name="row-spacing">6</property>
|
|
|
|
<property name="column-spacing">12</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="size_label2">
|
|
|
|
<property name="label" translatable="yes">Size</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="valign">baseline</property>
|
2019-04-04 23:08:18 +00:00
|
|
|
<layout>
|
2020-08-02 18:13:14 +00:00
|
|
|
<property name="column">0</property>
|
|
|
|
<property name="row">0</property>
|
2019-04-04 23:08:18 +00:00
|
|
|
</layout>
|
2019-02-07 08:23:02 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkScale" id="size_slider2">
|
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="adjustment">slider_adjustment</property>
|
|
|
|
<property name="draw-value">0</property>
|
|
|
|
<property name="round-digits">0</property>
|
2019-04-04 23:08:18 +00:00
|
|
|
<layout>
|
2020-08-02 18:13:14 +00:00
|
|
|
<property name="column">1</property>
|
|
|
|
<property name="row">0</property>
|
2019-04-04 23:08:18 +00:00
|
|
|
</layout>
|
2019-02-07 08:23:02 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSpinButton" id="size_spin2">
|
|
|
|
<property name="adjustment">spin_adjustment</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<signal name="output" handler="output_cb"/>
|
2019-04-04 23:08:18 +00:00
|
|
|
<layout>
|
2020-08-02 18:13:14 +00:00
|
|
|
<property name="column">2</property>
|
|
|
|
<property name="row">0</property>
|
2019-04-04 23:08:18 +00:00
|
|
|
</layout>
|
2019-02-07 08:23:02 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2018-01-03 03:52:05 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2019-02-07 08:23:02 +00:00
|
|
|
<object class="GtkBox" id="feature_box">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="spacing">12</property>
|
2018-01-03 03:52:05 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2015-05-09 06:06:28 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2013-03-26 09:50:01 +00:00
|
|
|
</object>
|
2019-02-07 08:23:02 +00:00
|
|
|
</property>
|
2013-03-26 09:50:01 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</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>
|