davemds pushed a commit to branch master. http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=114cfaaa0037bf1e3838ecfb21bc88c6c8de2c70
commit 114cfaaa0037bf1e3838ecfb21bc88c6c8de2c70 Author: Dave Andreoli <[email protected]> Date: Sat Jan 17 12:13:25 2015 +0100 New 1.13 property elm.Configuration.slider_indicator_visible_mode --- efl/elementary/configuration.pxd | 11 +++++++++++ efl/elementary/configuration.pyx | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/efl/elementary/configuration.pxd b/efl/elementary/configuration.pxd index c109cc8..b69cd30 100644 --- a/efl/elementary/configuration.pxd +++ b/efl/elementary/configuration.pxd @@ -27,6 +27,13 @@ cdef extern from "Elementary.h": ctypedef enum Elm_Softcursor_Mode: pass + cpdef enum Elm_Slider_Indicator_Visible_Mode: + ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT + ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS + ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS + ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE + ctypedef enum Elm_Slider_Indicator_Visible_Mode: + pass ctypedef struct Elm_Font_Overlay: const char *text_class @@ -189,3 +196,7 @@ cdef extern from "Elementary.h": void elm_config_audio_mute_set(Edje_Channel channel, Eina_Bool mute) Eina_Bool elm_config_atspi_mode_get() void elm_config_atspi_mode_set(Eina_Bool is_atspi) + + void elm_config_slider_indicator_visible_mode_set(Elm_Slider_Indicator_Visible_Mode mode) + Elm_Slider_Indicator_Visible_Mode elm_config_slider_indicator_visible_mode_get() + diff --git a/efl/elementary/configuration.pyx b/efl/elementary/configuration.pyx index 9ce57cb..baf9173 100644 --- a/efl/elementary/configuration.pyx +++ b/efl/elementary/configuration.pyx @@ -109,6 +109,28 @@ Elm_Softcursor_Mode Never use a softcursor +.. _Elm_Slider_Indicator_Visible_Mode: + +Elm_Slider_Indicator_Visible_Mode +================================= + +.. data:: ELM_SLIDER_INDICATOR_VISIBLE_MODE_DEFAULT + + show indicator on mouse down or change in slider value + +.. data:: ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS + + Always show the indicator + +.. data:: ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS + + Show the indicator on focus + +.. data:: ELM_SLIDER_INDICATOR_VISIBLE_MODE_NONE + + Never show the indicator + + .. _Edje_Channel: Audio Channels @@ -1231,6 +1253,19 @@ cdef class Configuration(object): def __set__(self, bint is_atspi): elm_config_atspi_mode_set(is_atspi) + property slider_indicator_visible_mode: + """Slider's indicator visiblity mode. + + :type: :ref:`Elm_Slider_Indicator_Visible_Mode` + + .. versionadded:: 1.13 + + """ + def __get__(self): + return elm_config_slider_indicator_visible_mode_get() + + def __set__(self, mode): + elm_config_slider_indicator_visible_mode_set(mode) #For compatibility def config_finger_size_get(): --
