Elm.menu: Fix documentation for item_add parameters
icon and label are in fact reversed in our API when compared to C API.
This commit is contained in:
parent
6fe9080af1
commit
40cedb0e4b
|
@ -361,10 +361,9 @@ cdef class Menu(Object):
|
|||
|
||||
:param parent: The parent menu item (optional)
|
||||
:type parent: :py:class:`~efl.elementary.object.Object`
|
||||
:param string label: The label of the item.
|
||||
:param string icon: An icon display on the item. The icon will be destroyed
|
||||
by the menu.
|
||||
:param string label: The label of the item.
|
||||
:type label: string
|
||||
:param callback: Function called when the user select the item.
|
||||
:type callback: function
|
||||
|
||||
|
|
Loading…
Reference in New Issue