summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_item_clickable.eo
blob: db73d79d88f6d3267cd5f347cff2c61fe5e8d942 (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
import efl_input_clickable;

struct Efl.Ui.Item_Clickable_Clicked {
   [[A struct that expresses a click in item of container widget.]]
   clicked: Efl.Input.Clickable_Clicked; [[The input clicked event data.]]
   item: Efl.Ui.Item; [[The clicked item.]]
}

struct Efl.Ui.Item_Clickable_Pressed {
   [[A struct that expresses a press or unpress in item of container widget.]]
   button: int; [[The button which was pressed or unpressed.]]
   item: Efl.Ui.Item; [[The corresponding item.]]
}

interface Efl.Ui.Item_Clickable
{
   [[Shared sets of events between @Efl.Ui.Collection and @Efl.Ui.Collection_View.]]
   event_c_prefix: efl_ui;
   events {
      item,pressed : Efl.Ui.Item_Clickable_Pressed; [[A $pressed event occurred over an item.]]
      item,unpressed : Efl.Ui.Item_Clickable_Pressed; [[An $unpressed event occurred over an item.]]
      item,longpressed : Efl.Ui.Item_Clickable_Pressed; [[A $longpressed event occurred over an item.]]
      item,clicked : Efl.Ui.Item_Clickable_Clicked; [[A $clicked event occurred over an item.]]
      item,clicked,any : Efl.Ui.Item_Clickable_Clicked; [[A $[clicked,any] event occurred over an item.]]
   }
}