New 1.13 property elm.Configuration.slider_indicator_visible_mode
This commit is contained in:
parent
49d409db3a
commit
114cfaaa00
|
@ -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()
|
||||
|
||||
|
|
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue