Menu.prepend

Convenience function for prepending a normal menu item to the start of menu. Combine Menu.itemNew and Menu.insertItem for a more flexible alternative.

class Menu
void
prepend
(
string label
,)

Parameters

label string

the section label, or NULL

detailedAction string

the detailed action string, or NULL

Meta

Since

2.32