summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_combobox.eo
blob: 4758cca6eb9c0a5c6eabffcdb4dd93856799c544 (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
class Elm.Combobox (Efl.Ui.Button, Efl.Ui.Selectable,
                    Efl.Access.Widget.Action,
                    Elm.Entry, Elm.Genlist, Elm.Hover)
{
   [[Elementary combobox class]]
   legacy_prefix: elm_combobox;
   eo_prefix: elm_obj_combobox;
   event_prefix: elm_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; [[$true if combobox is expenaded, $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;
      Efl.Object.constructor;
      Efl.Gfx.visible { set; }
      Efl.Gfx.size { set; }
      Elm.Widget.theme_apply;
      Efl.Ui.Translatable.translation_update;
      Elm.Widget.widget_event;
      Efl.Ui.Autorepeat.autorepeat_supported { get; }
      Elm.Genlist.filter { set; }
      Efl.Access.Widget.Action.elm_actions { get; }
      //Efl.Part.part; // TODO?
   }
   events {
      dismissed; [[Called when combobox was dismissed]]
      expanded; [[Called when combobox was expanded]]
      clicked; [[Called when combobox was clicked]]
      item,selected; [[Called when combobox item was selected]]
      item,pressed; [[Called when combobox item was pressed]]
      filter,done; [[Called when combobox filter was done]]
   }
}