summaryrefslogtreecommitdiff
path: root/gtk/ui/gtkcombobox.ui
blob: 3cc5556275806452884cf793eacd19dee090b33f (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
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk40">
  <template class="GtkComboBox" parent="GtkWidget">
    <child>
      <object class="GtkBox" id="box">
        <style>
          <class name="linked"/>
        </style>
        <child>
          <object class="GtkToggleButton" id="button">
            <signal name="toggled" handler="gtk_combo_box_button_toggled" swapped="no"/>
            <child>
              <object class="GtkBox">
                <child>
                  <object class="GtkBuiltinIcon" id="arrow">
                    <property name="css-name">arrow</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkTreePopover" id="popup_widget">
        <property name="cell-area">
          <object class="GtkCellAreaBox" id="area"/>
        </property>
        <property name="has-arrow">0</property>
        <signal name="menu-activate" handler="gtk_combo_box_menu_activate" swapped="no"/>
        <signal name="show" handler="gtk_combo_box_menu_show" swapped="no"/>
        <signal name="hide" handler="gtk_combo_box_menu_hide" swapped="no"/>
        <child>
          <object class="GtkEventControllerKey">
            <signal name="key-pressed" handler="gtk_combo_box_menu_key" swapped="no"/>
            <signal name="key-released" handler="gtk_combo_box_menu_key" swapped="no"/>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>