2015-05-13 09:26:12 -07:00
|
|
|
enum Elm.Scroller.Policy
|
|
|
|
{
|
|
|
|
/*@
|
|
|
|
@brief Type that controls when scrollbars should appear.
|
|
|
|
@see elm_scroller_policy_set()
|
|
|
|
|
|
|
|
@ingroup Scroller
|
|
|
|
*/
|
|
|
|
auto = 0, /*@< Show scrollbars as needed */
|
|
|
|
on, /*@< Always show scrollbars */
|
|
|
|
off, /*@< Never show scrollbars */
|
|
|
|
last
|
|
|
|
}
|
|
|
|
|
|
|
|
enum Elm.Scroller.Single_Direction
|
|
|
|
{
|
|
|
|
/*@
|
|
|
|
@brief Type that controls how the content is scrolled.
|
|
|
|
|
|
|
|
@see elm_scroller_single_direction_set()
|
|
|
|
@ingroup Scroller
|
|
|
|
*/
|
|
|
|
none = 0, /*@< Scroll every direction */
|
|
|
|
soft, /*@< Scroll single direction if the direction is certain*/
|
|
|
|
hard, /*@< Scroll only single direction */
|
|
|
|
last
|
|
|
|
}
|
|
|
|
|
|
|
|
enum Elm.Scroller.Movement_Block
|
|
|
|
{
|
|
|
|
/*@
|
|
|
|
@brief Type that blocks the scroll movement in one or more direction.
|
|
|
|
|
|
|
|
@see elm_scroller_movement_block()
|
|
|
|
|
|
|
|
@since 1.8
|
|
|
|
@ingroup Scroller
|
|
|
|
*/
|
|
|
|
legacy: elm_scroller_movement;
|
|
|
|
no_block = 1 << 0, /*@< Do not block movements */
|
|
|
|
block_vertical = 1 << 1, /*@< Block vertical movements */
|
|
|
|
block_horizontal = 1 << 2 /*@< Block horizontal movements */
|
|
|
|
}
|
|
|
|
|
2015-04-22 04:43:05 -07:00
|
|
|
class Elm.Scroller (Elm.Layout, Elm_Interface_Scrollable,
|
2014-07-25 01:33:19 -07:00
|
|
|
Elm_Interface_Atspi_Widget_Action)
|
2014-03-26 01:54:49 -07:00
|
|
|
{
|
|
|
|
eo_prefix: elm_obj_scroller;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
|
|
|
@property propagate_events {
|
2014-03-26 01:54:49 -07:00
|
|
|
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 {
|
2015-05-18 08:16:08 -07:00
|
|
|
propagation: bool; /*@ If propagation is enabled or not */
|
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 {
|
|
|
|
/*@ Set custom theme elements for the scroller */
|
|
|
|
}
|
|
|
|
values {
|
2015-05-18 08:16:08 -07:00
|
|
|
klass: const(char)*;
|
|
|
|
group: const(char)*;
|
2014-03-26 01:54:49 -07:00
|
|
|
}
|
|
|
|
}
|
2014-07-22 09:13:52 -07:00
|
|
|
page_scroll_limit_set @const {
|
2014-03-26 01:54:49 -07:00
|
|
|
/*@
|
2014-07-29 18:54:27 -07:00
|
|
|
@brief Set the maximum of the movable page at a flicking.
|
2014-03-26 01:54:49 -07:00
|
|
|
|
2014-07-29 18:54:27 -07:00
|
|
|
The value of maximum movable page should be more than 1.
|
2014-03-26 01:54:49 -07:00
|
|
|
|
|
|
|
@see elm_scroller_page_scroll_limit_get()
|
|
|
|
|
|
|
|
@since 1.8
|
|
|
|
|
|
|
|
@ingroup Scroller */
|
|
|
|
params {
|
2015-05-18 08:16:08 -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 {
|
2014-03-26 01:54:49 -07:00
|
|
|
/*@
|
2014-07-29 18:54:27 -07:00
|
|
|
@brief Get the maximum of the movable page at a flicking.
|
2014-03-26 01:54:49 -07:00
|
|
|
|
|
|
|
@see elm_scroller_page_scroll_limit_set()
|
|
|
|
|
|
|
|
@since 1.8
|
|
|
|
|
|
|
|
@ingroup Scroller */
|
|
|
|
params {
|
2015-05-18 08:16:08 -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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2014-06-20 02:47:39 -07:00
|
|
|
class.constructor;
|
2014-06-27 15:36:05 -07:00
|
|
|
Eo.Base.constructor;
|
|
|
|
Evas.Object_Smart.move;
|
|
|
|
Evas.Object_Smart.add;
|
|
|
|
Evas.Object_Smart.member_add;
|
|
|
|
Evas.Object_Smart.resize;
|
2015-04-22 04:33:10 -07:00
|
|
|
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;
|
2015-04-22 04:38:51 -07:00
|
|
|
Elm.Container.content_get;
|
|
|
|
Elm.Container.content_set;
|
|
|
|
Elm.Container.content_unset;
|
2015-04-22 04:37:40 -07:00
|
|
|
Elm.Layout.sizing_eval;
|
2014-06-20 02:47:39 -07:00
|
|
|
Elm_Interface_Scrollable.page_size.set;
|
|
|
|
Elm_Interface_Scrollable.policy.set;
|
|
|
|
Elm_Interface_Scrollable.single_direction;
|
2014-07-25 01:33:19 -07:00
|
|
|
Elm_Interface_Atspi_Widget_Action.elm_actions.get;
|
2014-03-26 01:54:49 -07:00
|
|
|
}
|
|
|
|
events {
|
|
|
|
focused;
|
|
|
|
unfocused;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|