Difference between revisions of "Lua:createMenuItem"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | '''function''' createMenuItem(''Owner'') ''':''' MenuItem | + | '''function''' createMenuItem(''Owner'') ''':''' [[MenuItem]] |
Returns a newly created [[MenuItem]] that gets added to the owner. | Returns a newly created [[MenuItem]] that gets added to the owner. |
Revision as of 04:27, 11 March 2017
function createMenuItem(Owner) : MenuItem
Returns a newly created MenuItem that gets added to the owner.
Function Parameters
Parameter | Type | Description |
---|---|---|
Owner | Menu or MenuItem based object | The Menu or MenuItem of the new MenuItem. |