hermet pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=63602adc83cc0996ef24600cd75dc6c9bd585f02
commit 63602adc83cc0996ef24600cd75dc6c9bd585f02 Author: ChunEon Park <[email protected]> Date: Mon Oct 6 12:11:05 2014 +0900 panel: add elm_panel_scrollable_get() --- src/lib/elm_panel.c | 6 ++++++ src/lib/elm_panel.eo | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/src/lib/elm_panel.c b/src/lib/elm_panel.c index 0784c49..a4a8f87 100644 --- a/src/lib/elm_panel.c +++ b/src/lib/elm_panel.c @@ -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) { diff --git a/src/lib/elm_panel.eo b/src/lib/elm_panel.eo index 3f37a3f..379e32c 100644 --- a/src/lib/elm_panel.eo +++ b/src/lib/elm_panel.eo @@ -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; } --
