glade-adaptor-chooser-widget.ui 3.99 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- Generated with glade 3.21.0 -->
3
<interface>
4
  <requires lib="gtk+" version="3.20"/>
5 6 7 8
  <object class="GtkListStore" id="store">
    <columns>
      <!-- column-name adaptor -->
      <column type="GObject"/>
9 10
      <!-- column-name group -->
      <column type="gchararray"/>
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
      <!-- column-name normalized-name -->
      <column type="gchararray"/>
      <!-- column-name normalized-name-len -->
      <column type="gint"/>
    </columns>
  </object>
  <object class="GtkTreeModelFilter" id="treemodelfilter">
    <property name="child_model">store</property>
  </object>
  <object class="GtkEntryCompletion" id="entrycompletion">
    <property name="model">treemodelfilter</property>
    <property name="text_column">1</property>
    <property name="inline_completion">True</property>
    <property name="popup_completion">False</property>
    <property name="popup_single_match">False</property>
  </object>
27
  <template class="_GladeAdaptorChooserWidget" parent="GtkBox">
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
    <property name="visible">True</property>
    <property name="can_focus">False</property>
    <property name="border_width">6</property>
    <property name="orientation">vertical</property>
    <property name="spacing">6</property>
    <child>
      <object class="GtkSearchEntry" id="searchentry">
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="primary_icon_name">edit-find-symbolic</property>
        <property name="primary_icon_activatable">False</property>
        <property name="primary_icon_sensitive">False</property>
        <property name="completion">entrycompletion</property>
        <property name="input_hints">GTK_INPUT_HINT_WORD_COMPLETION | GTK_INPUT_HINT_NONE</property>
        <signal name="activate" handler="on_searchentry_activate" swapped="no"/>
43
        <signal name="search-changed" handler="on_searchentry_search_changed" swapped="no"/>
44 45 46 47 48 49 50 51 52 53 54 55 56
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="fill">True</property>
        <property name="position">0</property>
      </packing>
    </child>
    <child>
      <object class="GtkScrolledWindow" id="scrolledwindow">
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="hscrollbar_policy">never</property>
        <property name="shadow_type">in</property>
57 58 59
        <property name="max_content_height">512</property>
        <property name="propagate_natural_width">True</property>
        <property name="propagate_natural_height">True</property>
60 61 62 63 64 65 66
        <child>
          <object class="GtkTreeView" id="treeview">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="model">treemodelfilter</property>
            <property name="headers_visible">False</property>
            <property name="enable_search">False</property>
67
            <property name="activate_on_single_click">True</property>
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
            <signal name="row-activated" handler="on_treeview_row_activated" swapped="no"/>
            <child internal-child="selection">
              <object class="GtkTreeSelection" id="treeview-selection"/>
            </child>
            <child>
              <object class="GtkTreeViewColumn" id="column_icon">
                <child>
                  <object class="GtkCellRendererPixbuf" id="icon_cell"/>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkTreeViewColumn" id="column_adaptor">
                <child>
                  <object class="GtkCellRendererText" id="adaptor_cell"/>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="fill">True</property>
        <property name="position">1</property>
      </packing>
    </child>
  </template>
</interface>