davemds pushed a commit to branch master. http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=222f32eaf202976f5d0ba6e9dc5d3d4e92b8bb9f
commit 222f32eaf202976f5d0ba6e9dc5d3d4e92b8bb9f Author: Dave Andreoli <d...@gurumeditation.it> Date: Fri Aug 12 13:26:58 2016 +0200 New 1.18 API: elm.Configuration.vsync --- 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 2ef8608..f921a00 100644 --- a/efl/elementary/configuration.pxi +++ b/efl/elementary/configuration.pxi @@ -1235,6 +1235,22 @@ cdef class Configuration(object): elm_config_icon_theme_set( <const char *>theme if theme is not None else NULL) + property vsync: + """The configured vsync flag + + This is the globally configured vsync flag that asks some backend + engines to use vsync display if possible. + + :type: bool + + .. versionadded:: 1.18 + + """ + def __set__(self, bint enabled): + elm_config_vsync_set(enabled) + def __get__(self): + return bool(elm_config_vsync_get()) + property window_auto_focus_enable: """The auto focus enable flag diff --git a/efl/elementary/configuration_cdef.pxi b/efl/elementary/configuration_cdef.pxi index 3088d5c..312820f 100644 --- a/efl/elementary/configuration_cdef.pxi +++ b/efl/elementary/configuration_cdef.pxi @@ -190,6 +190,9 @@ cdef extern from "Elementary.h": const char * elm_config_icon_theme_get() void elm_config_icon_theme_set(const char *theme) + + Eina_Bool elm_config_vsync_get() + void elm_config_vsync_set(Eina_Bool enabled) Elm_Focus_Autoscroll_Mode elm_config_focus_autoscroll_mode_get() void elm_config_focus_autoscroll_mode_set(Elm_Focus_Autoscroll_Mode mode) --