summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2014-10-06 12:11:05 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-10-06 12:11:05 +0900
commit63602adc83cc0996ef24600cd75dc6c9bd585f02 (patch)
tree4463fb8f77c5fe43e2fe0a7697173534327fdbbf
parentecdacf03537f210f17c3c572e13f20023f32992f (diff)
panel: add elm_panel_scrollable_get()
-rw-r--r--src/lib/elm_panel.c6
-rw-r--r--src/lib/elm_panel.eo9
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
1285 ecore_animator_add(_elm_panel_anim_cb, obj); 1285 ecore_animator_add(_elm_panel_anim_cb, obj);
1286} 1286}
1287 1287
1288EOLIAN static Eina_Bool
1289_elm_panel_scrollable_get(Eo *obj, Elm_Panel_Data *sd)
1290{
1291 return sd->scrollable;
1292}
1293
1288EOLIAN static void 1294EOLIAN static void
1289_elm_panel_scrollable_set(Eo *obj, Elm_Panel_Data *sd, Eina_Bool scrollable) 1295_elm_panel_scrollable_set(Eo *obj, Elm_Panel_Data *sd, Eina_Bool scrollable)
1290{ 1296{
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,
53 53
54 @ingroup Panel */ 54 @ingroup Panel */
55 } 55 }
56 get {
57 /*@
58 @brief Get the state of the scrollability.
59
60 @return EINA_TRUE if it is scrollable
61
62 @ingroup Panel
63 @since 1.12 */
64 }
56 values { 65 values {
57 bool scrollable; 66 bool scrollable;
58 } 67 }