summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_combobox.eo
blob: a23d26b8db12cc5a595a2e333bc24cb97933d003 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
class Elm.Combobox (Elm.Button, Evas.Selectable_Interface,
                    Elm.Interface.Atspi_Widget_Action,
                    Elm.Entry, Elm.Genlist, Elm.Hover, Elm.Multibuttonentry)
{
   legacy_prefix: elm_combobox;
   eo_prefix: elm_obj_combobox;
   methods {
      @property expanded {
         get {
            [[Returns whether the combobox is expanded.

            This will return EINA_TRUE if the combobox is expanded or
            EINA_FALSE if it is not expanded.

              @since 1.17
            ]]
            return: bool;
         }
      }
      @property multiple_selection {
         get {
            [[Returns whether the combobox allows multiple selection.
              @since 1.18
            ]]
         }
         set {
            [[Enables or disables multiple selection in combobox.

              Warning: This API should be set before any other API on
              combobox, if you wish to avoid complications.
              @since 1.18
            ]]
         }
         values {
            enabled: bool; [[$true if multiple selection is enabled,
            $false otherwise.]]
         }
      }
      hover_begin {
         [[This triggers the combobox popup from code, the same as if the user
         had clicked the button.

           @since 1.17
         ]]
      }
      hover_end {
         [[This dismisses the combobox popup as if the user had clicked
         outside the hover.

           @since 1.17
         ]]
      }
   }
   implements {
      class.constructor;
      Eo.Base.constructor;
      Evas.Object.Smart.hide;
      Evas.Object.Smart.show;
      Evas.Object.Smart.add;
      Evas.Object.Smart.del;
      Evas.Object.Smart.resize;
      Elm.Widget.part_text.set;
      Elm.Widget.part_text.get;
      Elm.Widget.theme_apply;
      Elm.Widget.translate;
      Elm.Widget.event;
      Elm.Button.admits_autorepeat.get;
      Elm.Genlist.filter.set;
      Elm.Interface.Atspi_Widget_Action.elm_actions.get;
   }
   events {
      dismissed;
      expanded;
      clicked;
      item,selected;
      item,pressed;
      filter,done;
   }
}