Menu.prepend

Convenience function for prepending a normal menu item to the start of menu. Combine g_menu_item_new() and g_menu_insert_item() for a more flexible alternative. Since 2.32

class Menu
void
prepend
(
string label
,)

Parameters

label string

the section label, or NULL. [allow-none]

detailedAction string

the detailed action string, or NULL. [allow-none]

Meta