diff options
author | ChunEon Park <hermet@hermet.pe.kr> | 2014-10-06 12:11:05 +0900 |
---|---|---|
committer | ChunEon Park <hermet@hermet.pe.kr> | 2014-10-06 12:11:05 +0900 |
commit | 63602adc83cc0996ef24600cd75dc6c9bd585f02 (patch) | |
tree | 4463fb8f77c5fe43e2fe0a7697173534327fdbbf | |
parent | ecdacf03537f210f17c3c572e13f20023f32992f (diff) | |
download | elementary-63602adc83cc0996ef24600cd75dc6c9bd585f02.tar.gz |
panel: add elm_panel_scrollable_get()
-rw-r--r-- | src/lib/elm_panel.c | 6 | ||||
-rw-r--r-- | src/lib/elm_panel.eo | 9 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/elm_panel.c b/src/lib/elm_panel.c index 0784c49e2..a4a8f87fa 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 3f37a3f38..379e32cdb 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; } |