v11.0 (2013)
Adds a menu item to the end of the menu and attaches a callback function. This method is similar to Menu.AddCallbackItem but specific to the python language.
Object Menu.AddCallbackItem2( String in_pLabel, String in_pszCallback ); |
oReturn = Menu.AddCallbackItem2( Label, Callback ); |
The newly created MenuItem object.