MenuModel.getItemLink

Queries the item at position item_index in model for the link specified by link.

If the link exists, the linked gio.MenuModel is returned. If the link does not exist, NULL is returned.

class MenuModel
getItemLink
(,
string link
)

Parameters

itemIndex int

the index of the item

the link to query

Return Value

Type: MenuModel

the linked gio.MenuModel, or NULL

Meta

Since

2.32