Application.getMenuById

Similar to gtk_application_get_menu_by_id() but takes into account menu merging which could have occurred upon loading plugins.

class Application
override
Menu
getMenuById
(
string menuId
)

Parameters

menuId
Type: string

the id of the menu to locate

Return Value

Type: Menu

A #GMenu

Meta