entity.ui 3.88 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
tallero's avatar
tallero committed
2
<!-- Generated with glade 3.22.1 -->
3
<interface>
tallero's avatar
tallero committed
4
  <requires lib="gtk+" version="3.22"/>
tallero's avatar
tallero committed
5
  <!-- interface-css-provider-path entity.css -->
tallero's avatar
tallero committed
6
  <template class="Entity" parent="GtkStack">
7
    <property name="visible">True</property>
tallero's avatar
tallero committed
8
    <property name="can_focus">False</property>
9
    <property name="hexpand">True</property>
10
    <property name="vexpand">True</property>
11
    <child>
12
      <object class="GtkGrid" id="view">
13
        <property name="visible">True</property>
14 15 16
        <property name="can_focus">False</property>
        <property name="hexpand">True</property>
        <property name="vexpand">True</property>
tallero's avatar
tallero committed
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
        <child>
          <object class="GtkLabel" id="unit">
            <property name="can_focus">False</property>
            <property name="no_show_all">True</property>
            <property name="halign">start</property>
            <property name="margin_left">4</property>
            <property name="margin_start">4</property>
            <property name="hexpand">True</property>
            <property name="vexpand">True</property>
            <property name="label" translatable="yes">unit</property>
            <style>
              <class name="dim-label"/>
            </style>
          </object>
          <packing>
            <property name="left_attach">1</property>
            <property name="top_attach">0</property>
          </packing>
        </child>
        <child>
tallero's avatar
tallero committed
37
          <object class="GtkEventBox" id="value_eventbox">
tallero's avatar
tallero committed
38 39 40 41 42 43 44 45 46 47 48
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="vexpand">True</property>
            <signal name="button-press-event" handler="button_press_event_cb" swapped="no"/>
            <child>
              <object class="GtkLabel" id="label">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
                <property name="vexpand">True</property>
                <property name="label" translatable="yes">Label</property>
                <property name="wrap">True</property>
tallero's avatar
tallero committed
49
                <property name="wrap_mode">char</property>
tallero's avatar
tallero committed
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
                <property name="xalign">0</property>
              </object>
            </child>
          </object>
          <packing>
            <property name="left_attach">0</property>
            <property name="top_attach">0</property>
          </packing>
        </child>
      </object>
      <packing>
        <property name="name">view</property>
        <property name="title" translatable="yes">View</property>
      </packing>
    </child>
    <child>
      <object class="GtkSearchEntry" id="entry">
        <property name="can_focus">True</property>
        <property name="no_show_all">True</property>
        <property name="margin_start">6</property>
        <property name="primary_icon_name">edit-find-symbolic</property>
71
        <property name="secondary_icon_name">user-trash-symbolic</property>
tallero's avatar
tallero committed
72 73
        <property name="primary_icon_activatable">False</property>
        <property name="primary_icon_sensitive">False</property>
74 75
        <property name="secondary_icon_tooltip_text" translatable="yes">Delete value</property>
        <signal name="changed" handler="entry_changed_cb" swapped="no"/>
tallero's avatar
tallero committed
76
        <signal name="focus-in-event" handler="entry_focus_in_event_cb" swapped="no"/>
77
        <signal name="icon-press" handler="entry_icon_press_cb" swapped="no"/>
tallero's avatar
tallero committed
78
        <signal name="key-release-event" handler="entry_key_release_event_cb" swapped="no"/>
tallero's avatar
tallero committed
79 80 81
        <style>
          <class name="flat"/>
          <class name="search_entry"/>
tallero's avatar
tallero committed
82
          <class name="dim-label"/>
tallero's avatar
tallero committed
83
        </style>
tallero's avatar
tallero committed
84 85 86 87 88 89
      </object>
      <packing>
        <property name="name">entry</property>
        <property name="title" translatable="yes">Entry</property>
        <property name="position">1</property>
      </packing>
90
    </child>
tallero's avatar
tallero committed
91
  </template>
92
</interface>