summaryrefslogtreecommitdiff
path: root/efl
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2014-10-05 21:11:40 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2014-10-05 21:11:40 +0300
commit40cedb0e4b27b45a3289f1ff0222d446b4f4a6d4 (patch)
treea8ae85e01c014eb06ba99fae1ec16bfee77269a7 /efl
parent6fe9080af122d84a53f6ba73a2faa3c02d5c765c (diff)
Elm.menu: Fix documentation for item_add parameters
icon and label are in fact reversed in our API when compared to C API.
Diffstat (limited to 'efl')
-rw-r--r--efl/elementary/menu.pyx3
1 files changed, 1 insertions, 2 deletions
diff --git a/efl/elementary/menu.pyx b/efl/elementary/menu.pyx
index 65b5c53..7a406c5 100644
--- a/efl/elementary/menu.pyx
+++ b/efl/elementary/menu.pyx
@@ -361,10 +361,9 @@ cdef class Menu(Object):
361 361
362 :param parent: The parent menu item (optional) 362 :param parent: The parent menu item (optional)
363 :type parent: :py:class:`~efl.elementary.object.Object` 363 :type parent: :py:class:`~efl.elementary.object.Object`
364 :param string label: The label of the item.
364 :param string icon: An icon display on the item. The icon will be destroyed 365 :param string icon: An icon display on the item. The icon will be destroyed
365 by the menu. 366 by the menu.
366 :param string label: The label of the item.
367 :type label: string
368 :param callback: Function called when the user select the item. 367 :param callback: Function called when the user select the item.
369 :type callback: function 368 :type callback: function
370 369