Menu.append

void append(string label = null, string detailedAction = null)

Convenience function for appending a normal menu item to the end of menu. Combine [gio.menu_item.MenuItem.new_] and [gio.menu.Menu.insertItem] for a more flexible alternative.

Parameters

labelthe section label, or null
detailedActionthe detailed action string, or null