summaryrefslogtreecommitdiff
path: root/tests/cursor-example/cursor-search.ui
blob: 58abc340a26a9f764ba837ea41794fca7fe7ec29 (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
44
45
46
47
48
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <!-- interface-requires gtk+ 3.10 -->
  <template class="CursorSearch" parent="GtkSearchEntry">
    <property name="visible">True</property>
    <property name="can_focus">True</property>
    <property name="primary_icon_name">edit-find-symbolic</property>
    <signal name="changed" handler="cursor_search_entry_changed" swapped="yes"/>
    <signal name="icon-press" handler="cursor_search_icon_press" swapped="yes"/>
  </template>
  <object class="GtkMenu" id="popup">
    <property name="visible">True</property>
    <property name="can_focus">False</property>
    <child>
      <object class="GtkRadioMenuItem" id="name_radio">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="label" translatable="yes">Name</property>
        <property name="use_underline">True</property>
        <property name="active">True</property>
        <property name="draw_as_radio">True</property>
        <signal name="toggled" handler="cursor_search_option_toggled" swapped="yes"/>
      </object>
    </child>
    <child>
      <object class="GtkRadioMenuItem" id="phone_radio">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="label" translatable="yes">Phonenumber</property>
        <property name="use_underline">True</property>
        <property name="draw_as_radio">True</property>
        <property name="group">name_radio</property>
        <signal name="toggled" handler="cursor_search_option_toggled" swapped="yes"/>
      </object>
    </child>
    <child>
      <object class="GtkRadioMenuItem" id="email_radio">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="label" translatable="yes">Email</property>
        <property name="use_underline">True</property>
        <property name="draw_as_radio">True</property>
        <property name="group">name_radio</property>
        <signal name="toggled" handler="cursor_search_option_toggled" swapped="yes"/>
      </object>
    </child>
  </object>
</interface>