summaryrefslogtreecommitdiff
path: root/gtk/ui/gtkfontchooserdialog.ui
blob: 78e766dc22fc2d845e6708e89facdf334b650d08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
  <!-- interface-requires gtk+ 3.10 -->
  <template class="GtkFontChooserDialog" parent="GtkDialog">
    <property name="title" translatable="yes">Select Font</property>
    <property name="type-hint">dialog</property>
    <child internal-child="vbox">
      <object class="GtkBox" id="dialog-vbox1">
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
        <child>
          <object class="GtkFontChooserWidget" id="fontchooser">
            <property name="visible">1</property>
            <property name="orientation">vertical</property>
            <property name="spacing">6</property>
            <signal name="font-activated" handler="font_activated_cb" swapped="no"/>
          </object>
          <packing>
            <property name="expand">1</property>
            <property name="position">1</property>
          </packing>
        </child>
      </object>
    </child>
    <child type="action">
      <object class="GtkButton" id="cancel_button">
        <property name="visible">1</property>
        <property name="use-underline">1</property>
        <property name="label" translatable="yes">_Cancel</property>
      </object>
    </child>
    <child type="action">
      <object class="GtkButton" id="ok_button">
        <property name="visible">1</property>
        <property name="label" translatable="yes">_Select</property>
        <property name="use-underline">1</property>
        <property name="can-default">1</property>
      </object>
    </child>
    <action-widgets>
      <action-widget response="cancel">cancel_button</action-widget>
      <action-widget response="ok" default="true">ok_button</action-widget>
    </action-widgets>
  </template>
</interface>