panel: add elm_panel_scrollable_get()

This commit is contained in:
ChunEon Park 2014-10-06 12:11:05 +09:00
parent 9ddd97c7ff
commit 42b17337cb
2 changed files with 15 additions and 0 deletions

View File

@ -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)
{

View File

@ -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;
}