summaryrefslogtreecommitdiff
path: root/efl
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2015-10-20 21:23:05 +0200
committerDave Andreoli <dave@gurumeditation.it>2015-10-20 21:23:05 +0200
commit435e57ca448bf21d885e8405e2e4bd08af46827a (patch)
tree2707b4b3b625b294182cfcd4df480cafd7de7a87 /efl
parentfd0b9636513f2f46643ceedd1c7402a976e8473f (diff)
rename Hoversel API label_auto_changed->auto_update
Diffstat (limited to 'efl')
-rw-r--r--efl/elementary/hoversel.pxi17
-rw-r--r--efl/elementary/hoversel_cdef.pxi4
2 files changed, 11 insertions, 10 deletions
diff --git a/efl/elementary/hoversel.pxi b/efl/elementary/hoversel.pxi
index 4b9f665..12bd569 100644
--- a/efl/elementary/hoversel.pxi
+++ b/efl/elementary/hoversel.pxi
@@ -250,8 +250,9 @@ cdef class Hoversel(Button):
250 def expanded_get(self): 250 def expanded_get(self):
251 return bool(elm_hoversel_expanded_get(self.obj)) 251 return bool(elm_hoversel_expanded_get(self.obj))
252 252
253 property label_auto_changed: 253 property auto_update:
254 """Change the label of hoversel to that of selected item automatically. 254 """Automatically change the label and icon of hoversel to that of
255 the selected item.
255 256
256 :type: bool 257 :type: bool
257 258
@@ -259,14 +260,14 @@ cdef class Hoversel(Button):
259 260
260 """ 261 """
261 def __get__(self): 262 def __get__(self):
262 return bool(elm_hoversel_label_auto_changed_get(self.obj)) 263 return bool(elm_hoversel_auto_update_get(self.obj))
263 def __set__(self, bint enable): 264 def __set__(self, bint enable):
264 elm_hoversel_label_auto_changed_set(self.obj, enable) 265 elm_hoversel_auto_update_set(self.obj, enable)
265 266
266 def elabel_auto_changed_get(self): 267 def auto_update_get(self):
267 return bool(elm_hoversel_label_auto_changed_get(self.obj)) 268 return bool(elm_hoversel_auto_update_get(self.obj))
268 def elabel_auto_changed_set(self, bint enable): 269 def auto_update_set(self, bint enable):
269 elm_hoversel_label_auto_changed_set(self.obj, enable) 270 elm_hoversel_auto_update_set(self.obj, enable)
270 271
271 def clear(self): 272 def clear(self):
272 """This will remove all the children items from the hoversel. 273 """This will remove all the children items from the hoversel.
diff --git a/efl/elementary/hoversel_cdef.pxi b/efl/elementary/hoversel_cdef.pxi
index f77ab82..b99af41 100644
--- a/efl/elementary/hoversel_cdef.pxi
+++ b/efl/elementary/hoversel_cdef.pxi
@@ -20,5 +20,5 @@ cdef extern from "Elementary.h":
20 Elm_Object_Item *elm_hoversel_item_add(Evas_Object *obj, const char *label, const char *icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, void *data) 20 Elm_Object_Item *elm_hoversel_item_add(Evas_Object *obj, const char *label, const char *icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, void *data)
21 void elm_hoversel_item_icon_set(Elm_Object_Item *it, const char *icon_file, const char *icon_group, Elm_Icon_Type icon_type) 21 void elm_hoversel_item_icon_set(Elm_Object_Item *it, const char *icon_file, const char *icon_group, Elm_Icon_Type icon_type)
22 void elm_hoversel_item_icon_get(const Elm_Object_Item *it, const char **icon_file, const char **icon_group, Elm_Icon_Type *icon_type) 22 void elm_hoversel_item_icon_get(const Elm_Object_Item *it, const char **icon_file, const char **icon_group, Elm_Icon_Type *icon_type)
23 void elm_hoversel_label_auto_changed_set(Evas_Object *obj, Eina_Bool enable) 23 void elm_hoversel_auto_update_set(Evas_Object *obj, Eina_Bool enable)
24 Eina_Bool elm_hoversel_label_auto_changed_get(Evas_Object *obj) 24 Eina_Bool elm_hoversel_auto_update_get(Evas_Object *obj)