choose_key.ui 2.64 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 -->
<interface>
  <requires lib="gtk+" version="3.20"/>
  <object class="GtkListStore" id="liststore">
    <columns>
      <!-- column-name keyid -->
      <column type="gchararray"/>
      <!-- column-name contactname -->
      <column type="gchararray"/>
    </columns>
  </object>
  <object class="GtkBox" id="box">
Daniel Brötzmann's avatar
Daniel Brötzmann committed
14 15
    <property name="width_request">500</property>
    <property name="height_request">300</property>
16 17
    <property name="visible">True</property>
    <property name="can_focus">False</property>
Daniel Brötzmann's avatar
Daniel Brötzmann committed
18
    <property name="border_width">18</property>
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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
    <property name="orientation">vertical</property>
    <property name="spacing">6</property>
    <child>
      <object class="GtkScrolledWindow">
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="vexpand">True</property>
        <property name="shadow_type">in</property>
        <child>
          <object class="GtkTreeView" id="keys_treeview">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="model">liststore</property>
            <property name="search_column">1</property>
            <signal name="cursor-changed" handler="_on_row_changed" swapped="no"/>
            <child internal-child="selection">
              <object class="GtkTreeSelection"/>
            </child>
            <child>
              <object class="GtkTreeViewColumn">
                <property name="title" translatable="yes">Key ID</property>
                <property name="sort_order">descending</property>
                <child>
                  <object class="GtkCellRendererText"/>
                  <attributes>
                    <attribute name="text">0</attribute>
                  </attributes>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkTreeViewColumn">
                <property name="title" translatable="yes">Contact Name</property>
                <property name="sort_column_id">1</property>
                <child>
                  <object class="GtkCellRendererText"/>
                  <attributes>
                    <attribute name="text">1</attribute>
                  </attributes>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
      <packing>
        <property name="expand">True</property>
        <property name="fill">True</property>
Daniel Brötzmann's avatar
Daniel Brötzmann committed
67
        <property name="position">0</property>
68 69 70 71
      </packing>
    </child>
  </object>
</interface>