efl/src/lib/elementary/elm_scroller.eo

101 lines
3.4 KiB
Plaintext
Raw Normal View History

class Elm.Scroller (Elm.Layout, Elm.Interface_Scrollable,
Elm.Interface.Atspi_Widget_Action,
Efl.Ui.Scrollable)
2014-03-26 01:54:49 -07:00
{
[[Elementary scroller class]]
legacy_prefix: elm_scroller;
2014-03-26 01:54:49 -07:00
eo_prefix: elm_obj_scroller;
event_prefix: elm_scroller;
2015-05-07 09:32:53 -07:00
methods {
@property propagate_events {
2014-03-26 01:54:49 -07:00
set {
2015-07-03 07:12:48 -07:00
[[Set event propagation on a scroller
2014-03-26 01:54:49 -07:00
2015-07-03 07:12:48 -07:00
This enables or disables event propagation from the scroller
content to the scroller and its parent. By default event
propagation is enabled.
]]
2014-03-26 01:54:49 -07:00
}
get {
2015-07-03 07:12:48 -07:00
[[Get event propagation for a scroller
2014-03-26 01:54:49 -07:00
2015-07-03 07:12:48 -07:00
This gets the event propagation for a scroller.
]]
2014-03-26 01:54:49 -07:00
}
values {
2015-07-03 07:12:48 -07:00
propagation: bool; [[The propagation state]]
2014-03-26 01:54:49 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property custom_widget_base_theme {
2014-03-26 01:54:49 -07:00
set {
2015-07-03 07:12:48 -07:00
[[Set custom theme elements for the scroller]]
2014-03-26 01:54:49 -07:00
}
values {
klass: string; [[Klass name]]
group: string; [[Group name]]
2014-03-26 01:54:49 -07:00
}
}
2014-07-22 09:13:52 -07:00
page_scroll_limit_set @const {
2015-07-03 07:12:48 -07:00
[[Set the maximum of the movable page at a flicking.
2014-03-26 01:54:49 -07:00
2015-07-03 07:12:48 -07:00
The value of maximum movable page should be more than 1.
2014-03-26 01:54:49 -07:00
2015-07-03 07:12:48 -07:00
@since 1.8
]]
2014-03-26 01:54:49 -07:00
params {
2015-07-03 07:12:48 -07:00
@in page_limit_h: int; [[The maximum of the movable horizontal page]]
@in page_limit_v: int; [[The maximum of the movable vertical page]]
2014-03-26 01:54:49 -07:00
}
}
2014-07-22 09:13:52 -07:00
page_scroll_limit_get @const {
2015-07-03 07:12:48 -07:00
[[Get the maximum of the movable page at a flicking.
2014-03-26 01:54:49 -07:00
2015-07-03 07:12:48 -07:00
@since 1.8
]]
2014-03-26 01:54:49 -07:00
params {
@in page_limit_h: ptr(int); [[The maximum of the movable horizontal page]]
@in page_limit_v: ptr(int); [[The maximum of the movable vertical page]]
2014-03-26 01:54:49 -07:00
}
}
}
implements {
class.constructor;
Efl.Object.constructor;
Efl.Gfx.position { set; }
Efl.Gfx.size { set; }
Efl.Canvas.Group.group_add;
Efl.Canvas.Group.group_member_add;
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.focus_direction;
Elm.Widget.sub_object_del;
Elm.Widget.widget_event;
Elm.Layout.sizing_eval;
Elm.Interface_Scrollable.page_size { set; }
Elm.Interface_Scrollable.policy { set; }
Elm.Interface_Scrollable.single_direction;
Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
Efl.Part.part;
2014-03-26 01:54:49 -07:00
}
events {
scroll,page,changed; [[Called when scroll page changed]]
hbar,unpress; [[Called when horizontal bar is no longer pressed]]
hbar,press; [[Called when horizontal bar is pressed]]
hbar,drag; [[Called when horizontal bar is dragged]]
vbar,unpress; [[Called when vertical bar is no longer pressed]]
vbar,press; [[Called when vertical bar is pressed]]
vbar,drag; [[Called when vertical bar is dragged]]
scroll,left; [[Called when scrolling to left]]
scroll,right; [[Called when scrolling to right]]
scroll,up; [[Called scrolled upwards]]
scroll,down; [[Called when scrolled downwards]]
edge,left; [[Called when hitting the left edge]]
edge,right; [[Called when hitting the right edge]]
edge,top; [[Called when hitting the top edge]]
edge,bottom; [[Called when hitting the bottom edge]]
2014-03-26 01:54:49 -07:00
}
}