Difference between revisions of "Lua:createMenuItem"
Jump to navigation
Jump to search
(Created page with ''''function''' createMenuItem(''Owner'') ''':''' MenuItem Returns a newly created MenuItem that gets added to the owner. === Function Parameters === {|width="85%" cellpaddi…') |
|||
Line 10: | Line 10: | ||
|- | |- | ||
|Owner | |Owner | ||
− | |Menu or MenuItem based object | + | |[[Menu]] or [[MenuItem]] based object |
|The [[Menu]] or [[MenuItem]] of the new [[MenuItem]]. | |The [[Menu]] or [[MenuItem]] of the new [[MenuItem]]. | ||
|} | |} |
Revision as of 04:21, 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. |