The image of the entry.
The label of the item.
The callback to execute when this item is selected in the menu.
The keyboard shortcut text. This is for decoration only, you must also bind this keypress to an event.
The position of the image in relation to the text.
This widget to aid method chaining.
These are the fields within the callback's CommandArgs parameter which are populated by this method when the callback is executed.
$(PARAM_TABLE $(PARAM_ROW CommandArgs.element, The menu that executed the callback.) $(PARAM_ROW CommandArgs.uniqueData, The label of the menu entry which was selected.) $(PARAM_ROW CommandArgs.callback, The callback which was executed.) )
Add an item to the menu with an image.