summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-02-23 14:28:49 +0100
committerdavemds <dave@gurumeditation.it>2014-02-23 14:28:49 +0100
commitaf2e379e05bb10a54cd9c69c00ecb3fbf0e128b5 (patch)
tree98d3bee0eaa9ce62404624fb194232bf0928a9fe
parent04734af9f42c61254c90d5b4b530fa2228f53c9f (diff)
Python-EFL: new hoversel signal: expanded
-rw-r--r--efl/elementary/hoversel.pyx12
1 files changed, 12 insertions, 0 deletions
diff --git a/efl/elementary/hoversel.pyx b/efl/elementary/hoversel.pyx
index a7971f9..1ce170c 100644
--- a/efl/elementary/hoversel.pyx
+++ b/efl/elementary/hoversel.pyx
@@ -40,6 +40,7 @@ This widget emits the following signals, besides the ones sent from
40- ``selected`` - an item in the hoversel list is selected. event_info 40- ``selected`` - an item in the hoversel list is selected. event_info
41 is the item 41 is the item
42- ``dismissed`` - the hover is dismissed 42- ``dismissed`` - the hover is dismissed
43- ``expanded`` - the hover is expanded (since 1.9)
43 44
44Default content parts of the hoversel widget that you can use for are: 45Default content parts of the hoversel widget that you can use for are:
45 46
@@ -391,5 +392,16 @@ cdef class Hoversel(Button):
391 def callback_dismissed_del(self, func): 392 def callback_dismissed_del(self, func):
392 self._callback_del("dismissed", func) 393 self._callback_del("dismissed", func)
393 394
395 def callback_expanded_add(self, func, *args, **kwargs):
396 """The hover is expanded.
397
398 .. versionadded:: 1.9
399
400 """
401 self._callback_add("expanded", func, *args, **kwargs)
402
403 def callback_expanded_del(self, func):
404 self._callback_del("expanded", func)
405
394 406
395_object_mapping_register("Elm_Hoversel", Hoversel) 407_object_mapping_register("Elm_Hoversel", Hoversel)