davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=9fb954433e7bf8acc4cbbdb1c35d6560ae5e70c7

commit 9fb954433e7bf8acc4cbbdb1c35d6560ae5e70c7
Author: Dave Andreoli <[email protected]>
Date:   Tue Aug 9 21:20:44 2016 +0200

    New 1.18 API: elm.Configuration.popup_scrollable
---
 efl/elementary/configuration.pxi      | 16 ++++++++++++++++
 efl/elementary/configuration_cdef.pxi |  3 +++
 2 files changed, 19 insertions(+)

diff --git a/efl/elementary/configuration.pxi b/efl/elementary/configuration.pxi
index 6a40885..99993dd 100644
--- a/efl/elementary/configuration.pxi
+++ b/efl/elementary/configuration.pxi
@@ -579,6 +579,22 @@ cdef class Configuration(object):
         def __set__(self, double delay):
             elm_config_tooltip_delay_set(delay)
 
+    property popup_scrollable:
+        """The popup scrollable flag
+
+        If scrollable is ``True``, popup's contents is wrapped in a scroller
+        container in order to popup shouldn't be larger than its parent.
+
+        :type: bool
+
+        .. versionadded:: 1.18
+
+        """
+        def __get__(self):
+            return bool(elm_config_popup_scrollable_get())
+        def __set__(self, bint scrollable):
+            elm_config_popup_scrollable_set(scrollable)
+
     property cursor_engine_only:
         """The globally configured exclusive usage of engine cursors.
 
diff --git a/efl/elementary/configuration_cdef.pxi 
b/efl/elementary/configuration_cdef.pxi
index ec0e7bf..64db920 100644
--- a/efl/elementary/configuration_cdef.pxi
+++ b/efl/elementary/configuration_cdef.pxi
@@ -198,6 +198,9 @@ cdef extern from "Elementary.h":
     Eina_Bool               elm_config_clouseau_enabled_get()
     void                    elm_config_clouseau_enabled_set(Eina_Bool enabled)
 
+    Eina_Bool               elm_config_popup_scrollable_get()
+    void                    elm_config_popup_scrollable_set(Eina_Bool 
scrollable)
+
     const char *            elm_config_indicator_service_get(int rotation)
 
     double                  elm_config_glayer_long_tap_start_timeout_get()

-- 


Reply via email to