New 1.18 API: elm.Configuration.first_item_focus_on_first_focusin
Also this one was there from 1.11
This commit is contained in:
parent
cfb967333d
commit
7066070992
|
@ -1169,6 +1169,22 @@ cdef class Configuration(object):
|
|||
def __set__(self, bint disabled):
|
||||
elm_config_item_select_on_focus_disabled_set(disabled)
|
||||
|
||||
property first_item_focus_on_first_focusin:
|
||||
"""The first item focus on first focusin feature.
|
||||
|
||||
If this is enabled, then on the first focus of the widget the
|
||||
first item in lists will be automatically selected.
|
||||
|
||||
:type: bool
|
||||
|
||||
.. versionadded:: 1.18
|
||||
|
||||
"""
|
||||
def __get__(self):
|
||||
return bool(elm_config_first_item_focus_on_first_focusin_get())
|
||||
def __set__(self, bint enabled):
|
||||
elm_config_first_item_focus_on_first_focusin_set(enabled)
|
||||
|
||||
property focus_autoscroll_mode:
|
||||
"""Focus Autoscroll Mode
|
||||
|
||||
|
|
|
@ -184,6 +184,9 @@ cdef extern from "Elementary.h":
|
|||
void elm_config_focus_move_policy_set(Elm_Focus_Move_Policy policy)
|
||||
Eina_Bool elm_config_item_select_on_focus_disabled_get()
|
||||
void elm_config_item_select_on_focus_disabled_set(Eina_Bool disabled)
|
||||
Eina_Bool elm_config_first_item_focus_on_first_focusin_get()
|
||||
void elm_config_first_item_focus_on_first_focusin_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)
|
||||
Eina_Bool elm_config_window_auto_focus_enable_get()
|
||||
|
|
Loading…
Reference in New Issue