summaryrefslogtreecommitdiff
path: root/efl
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2016-01-21 22:31:07 +0100
committerDave Andreoli <dave@gurumeditation.it>2016-01-21 22:31:07 +0100
commitf03f83fba92ada0720a77a5bba4598487f005477 (patch)
treef22ea29d02e46de08d0c3cd5764f91d42b33a19a /efl
parent926c325de8cbd2544d916c26a9fb57706cc48275 (diff)
New 1.17 API: elm.Configuration.context_menu_disabled
Diffstat (limited to 'efl')
-rw-r--r--efl/elementary/configuration.pxi15
-rw-r--r--efl/elementary/configuration_cdef.pxi2
2 files changed, 17 insertions, 0 deletions
diff --git a/efl/elementary/configuration.pxi b/efl/elementary/configuration.pxi
index 76bda93..aac0f56 100644
--- a/efl/elementary/configuration.pxi
+++ b/efl/elementary/configuration.pxi
@@ -1215,6 +1215,21 @@ cdef class Configuration(object):
1215 def __set__(self, mode): 1215 def __set__(self, mode):
1216 elm_config_slider_indicator_visible_mode_set(mode) 1216 elm_config_slider_indicator_visible_mode_set(mode)
1217 1217
1218 property context_menu_disabled:
1219 """
1220
1221 Enable or disable context menu in entries.
1222
1223 :type: bool
1224
1225 .. versionadded:: 1.17
1226
1227 """
1228 def __get__(self):
1229 return bool(elm_config_context_menu_disabled_get())
1230 def __set__(self, bint disabled):
1231 elm_config_context_menu_disabled_set(disabled)
1232
1218#For compatibility 1233#For compatibility
1219def config_finger_size_get(): 1234def config_finger_size_get():
1220 return elm_config_finger_size_get() 1235 return elm_config_finger_size_get()
diff --git a/efl/elementary/configuration_cdef.pxi b/efl/elementary/configuration_cdef.pxi
index 79bb7b5..40678b6 100644
--- a/efl/elementary/configuration_cdef.pxi
+++ b/efl/elementary/configuration_cdef.pxi
@@ -180,6 +180,8 @@ cdef extern from "Elementary.h":
180 Eina_Bool elm_config_window_auto_focus_animate_get() 180 Eina_Bool elm_config_window_auto_focus_animate_get()
181 void elm_config_window_auto_focus_animate_set(Eina_Bool enable) 181 void elm_config_window_auto_focus_animate_set(Eina_Bool enable)
182 182
183 Eina_Bool elm_config_context_menu_disabled_get()
184 void elm_config_context_menu_disabled_set(Eina_Bool disabled)
183 185
184 Eina_Bool elm_config_mirrored_get() 186 Eina_Bool elm_config_mirrored_get()
185 void elm_config_mirrored_set(Eina_Bool mirrored) 187 void elm_config_mirrored_set(Eina_Bool mirrored)