summaryrefslogtreecommitdiff
path: root/src/gui/gtd-task-list-popover.ui
blob: 9a8cc9e9efbf5df3973967aef1c7ec75a2be004d (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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="GtdTaskListPopover" parent="GtkPopover">
    <signal name="closed" handler="on_popover_closed_cb" object="GtdTaskListPopover" swapped="no"/>
    <child>
      <object class="GtkBox">
        <property name="margin-top">18</property>
        <property name="margin-bottom">18</property>
        <property name="margin-start">18</property>
        <property name="margin-end">18</property>
        <property name="spacing">12</property>
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkSearchEntry" id="search_entry">
            <signal name="activate" handler="on_search_entry_activated_cb" object="GtdTaskListPopover" swapped="no"/>
            <signal name="search-changed" handler="on_search_entry_search_changed_cb" object="GtdTaskListPopover" swapped="no"/>
          </object>
        </child>
        <child>
          <object class="GtkScrolledWindow">
            <property name="hscrollbar-policy">never</property>
            <property name="max-content-height">480</property>
            <property name="propagate-natural-height">1</property>
            <child>
              <object class="GtkListBox" id="listbox">
                <property name="selection_mode">none</property>
                <signal name="row-activated" handler="on_listbox_row_activated_cb" object="GtdTaskListPopover" swapped="no"/>
                <style>
                  <class name="background"/>
                </style>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
  <object class="GtkSizeGroup" id="sizegroup"/>
</interface>