summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_ui_scrollable.eo
blob: 2f6d0a105341585983ace965d161dc4099219620 (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
enum Efl.Ui.Scroll_Block
{
   [[Direction in which a scroller should be blocked.

     Note: These options may be effective only in case of thumbscroll (i.e.
     when scrolling by dragging).

     @since 1.21
   ]]
   none = 0,      [[Don't block any movement.]]
   vertical = 1,  [[Block vertical movement.]]
   horizontal = 2 [[Block horizontal movement.]]
}

interface Efl.Ui.Scrollable ()
{
   [[Efl UI scrollable interface]]
   event_prefix: efl_ui;
   events {
      scroll,start: void; [[Called when scroll operation starts]]
      scroll: void; [[Called when scrolling]]
      scroll,stop: void; [[Called when scroll operation stops]]
      scroll,up: void; [[Called when scrolling upwards]]
      scroll,down: void; [[Called when scrolling downwards]]
      scroll,left: void; [[Called when scrolling left]]
      scroll,right: void; [[Called when scrolling right]]
      edge,up: void; [[Called when hitting the top edge]]
      edge,down: void; [[Called when hitting the bottom edge]]
      edge,left: void; [[Called when hitting the left edge]]
      edge,right: void; [[Called when hitting the right edge]]
      scroll,anim,start: void; [[Called when scroll animation starts]]
      scroll,anim,stop: void; [[Called when scroll animation stopps]]
      scroll,drag,start: void; [[Called when scroll drag starts]]
      scroll,drag,stop: void; [[Called when scroll drag stops]]
   }
}