summaryrefslogtreecommitdiff
path: root/src/lib/elm_scroller.eo
blob: ec8893c8e36892b37392f0b59e5ce9469b2fc4f3 (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
class Elm_Scroller (Elm_Layout, Elm_Interface_Scrollable)
{
   eo_prefix: elm_obj_scroller;
   properties {
      propagate_events {
         set {
            /*@
            @brief Set event propagation on a scroller

            This enables or disables event propagation from the scroller
            content to the scroller and its parent. By default event
            propagation is @b enabled.

            @ingroup Scroller */
         }
         get {
            /*@
            @brief Get event propagation for a scroller

            @return The propagation state

            This gets the event propagation for a scroller.

            @see elm_scroller_propagate_events_set()

            @ingroup Scroller */
         }
         values {
            Eina_Bool propagation; /*@ If propagation is enabled or not */
         }
      }
      custom_widget_base_theme {
         set {
            /*@ Set custom theme elements for the scroller */
         }
         values {
            const char *klass;
            const char *group;
         }
      }
   }
   methods {
      page_scroll_limit_set {
         /*@
         @brief Set the maxium of the movable page at a flicking.

         The value of maxium movable page should be more than 1.

         @see elm_scroller_page_scroll_limit_get()

         @since 1.8

         @ingroup Scroller */

         const;
         params {
            @in int page_limit_h; /*@ The maxium of the movable horizontal page */
            @in int page_limit_v; /*@ The maxium of the movable vertical page */
         }
      }
      page_scroll_limit_get {
         /*@
         @brief Get the maxium of the movable page at a flicking.

         @see elm_scroller_page_scroll_limit_set()

         @since 1.8

         @ingroup Scroller */

         const;
         params {
            @in int *page_limit_h; /*@ The maxium of the movable horizontal page */
            @in int *page_limit_v; /*@ The maxium of the movable vertical page */
         }
      }
   }
   implements {
      class.constructor;
      Eo.Base.constructor;
      Evas.Object_Smart.move;
      Evas.Object_Smart.add;
      Evas.Object_Smart.member_add;
      Evas.Object_Smart.resize;
      Elm_Widget.theme_apply;
      Elm_Widget.activate;
      Elm_Widget.focus_next_manager_is;
      Elm_Widget.focus_direction_manager_is;
      Elm_Widget.focus_next;
      Elm_Widget.sub_object_del;
      Elm_Widget.event;
      Elm_Container.content_get;
      Elm_Container.content_set;
      Elm_Container.content_unset;
      Elm_Layout.sizing_eval;
      Elm_Interface_Scrollable.page_size.set;
      Elm_Interface_Scrollable.policy.set;
      Elm_Interface_Scrollable.single_direction;
   }
   events {
      focused;
      unfocused;
   }

}