prepend


Description:

public void prepend (string? label, string? detailed_action)

Convenience function for prepending a normal menu item to the start of this.

Combine MenuItem and insert_item for a more flexible alternative.

Parameters:

this

a Menu

label

the section label, or null

detailed_action

the detailed action string, or null