gtkfontchooserdialog.ui 1.87 KB
Newer Older
1 2 3 4
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
  <!-- interface-requires gtk+ 3.10 -->
  <template class="GtkFontChooserDialog" parent="GtkDialog">
Matthias Clasen's avatar
Matthias Clasen committed
5
    <property name="border-width">5</property>
6
    <property name="title" translatable="yes">Select Font</property>
Matthias Clasen's avatar
Matthias Clasen committed
7
    <property name="type-hint">dialog</property>
8 9 10 11 12 13
    <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">
14
            <property name="visible">1</property>
Matthias Clasen's avatar
Matthias Clasen committed
15
            <property name="border-width">5</property>
16 17 18 19 20
            <property name="orientation">vertical</property>
            <property name="spacing">6</property>
            <signal name="font-activated" handler="font_activated_cb" swapped="no"/>
          </object>
          <packing>
21
            <property name="expand">1</property>
22 23 24 25 26
            <property name="position">1</property>
          </packing>
        </child>
      </object>
    </child>
27 28
    <child type="action">
      <object class="GtkButton" id="cancel_button">
29
        <property name="visible">1</property>
Matthias Clasen's avatar
Matthias Clasen committed
30
        <property name="use-underline">1</property>
31
        <property name="label" translatable="yes">_Cancel</property>
32 33 34 35
      </object>
    </child>
    <child type="action">
      <object class="GtkButton" id="ok_button">
36
        <property name="visible">1</property>
37
        <property name="label" translatable="yes">_Select</property>
Matthias Clasen's avatar
Matthias Clasen committed
38 39
        <property name="use-underline">1</property>
        <property name="can-default">1</property>
40 41 42 43 44 45
      </object>
    </child>
    <action-widgets>
      <action-widget response="cancel">cancel_button</action-widget>
      <action-widget response="ok" default="true">ok_button</action-widget>
    </action-widgets>
46 47
  </template>
</interface>