forked from enlightenment/efl
panel: add elm_panel_scrollable_get()
This commit is contained in:
parent
9ddd97c7ff
commit
42b17337cb
|
@ -1285,6 +1285,12 @@ _elm_panel_scrollable_content_size_set(Eo *obj, Elm_Panel_Data *sd, double ratio
|
|||
ecore_animator_add(_elm_panel_anim_cb, obj);
|
||||
}
|
||||
|
||||
EOLIAN static Eina_Bool
|
||||
_elm_panel_scrollable_get(Eo *obj, Elm_Panel_Data *sd)
|
||||
{
|
||||
return sd->scrollable;
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
_elm_panel_scrollable_set(Eo *obj, Elm_Panel_Data *sd, Eina_Bool scrollable)
|
||||
{
|
||||
|
|
|
@ -53,6 +53,15 @@ class Elm_Panel (Elm_Layout, Elm_Interface_Scrollable,
|
|||
|
||||
@ingroup Panel */
|
||||
}
|
||||
get {
|
||||
/*@
|
||||
@brief Get the state of the scrollability.
|
||||
|
||||
@return EINA_TRUE if it is scrollable
|
||||
|
||||
@ingroup Panel
|
||||
@since 1.12 */
|
||||
}
|
||||
values {
|
||||
bool scrollable;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue