MenuItem.getLink

Queries the named link on menu_item.

class MenuItem
getLink
(
string link
)

Parameters

the link name to query

Return Value

Type: gio.menu_model.MenuModel

the link, or null