insert


Description:

public void insert (int position, string? label, string? detailed_action)

Convenience function for inserting a normal menu item into this.

Combine MenuItem and insert_item for a more flexible alternative.

Parameters:

this

a Menu

position

the position at which to insert the item

label

the section label, or null

detailed_action

the detailed action string, or null




2022 vala-language.org