davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=2f1aff95c5672392f0c8e4b134d0098997666b71

commit 2f1aff95c5672392f0c8e4b134d0098997666b71
Author: Dave Andreoli <[email protected]>
Date:   Tue Aug 9 17:22:08 2016 +0200

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

diff --git a/efl/elementary/configuration.pxi b/efl/elementary/configuration.pxi
index cac82f2..6a40885 100644
--- a/efl/elementary/configuration.pxi
+++ b/efl/elementary/configuration.pxi
@@ -272,6 +272,22 @@ cdef class Configuration(object):
         def __set__(self, double accel):
             elm_config_scroll_accel_factor_set(accel)
 
+    property scroll_animation_disabled:
+        """Disable scroller animations at all.
+
+        This option disables timed animations during scrolling and forces
+        scroll actions to be performed immediately.
+
+        :type: bool
+
+        .. versionadded:: 1.18
+
+        """
+        def __get__(self):
+            return bool(elm_config_scroll_animation_disabled_get())
+        def __set__(self, bint disabled):
+            elm_config_scroll_animation_disabled_set(disabled)
+
     property scroll_thumbscroll_enabled:
         """Whether scrollers should be draggable from any point in their views.
 
diff --git a/efl/elementary/configuration_cdef.pxi 
b/efl/elementary/configuration_cdef.pxi
index 339e02a..ec0e7bf 100644
--- a/efl/elementary/configuration_cdef.pxi
+++ b/efl/elementary/configuration_cdef.pxi
@@ -80,6 +80,8 @@ cdef extern from "Elementary.h":
     void                    elm_config_scroll_zoom_friction_set(double 
friction)
     double                  elm_config_scroll_accel_factor_get()
     void                    elm_config_scroll_accel_factor_set(double factor)
+    Eina_Bool               elm_config_scroll_animation_disabled_get()
+    void                    elm_config_scroll_animation_disabled_set(Eina_Bool 
disabled)
 
     Eina_Bool               elm_config_scroll_thumbscroll_enabled_get()
     void                    
elm_config_scroll_thumbscroll_enabled_set(Eina_Bool enabled)

-- 


Reply via email to