MenuModel.getItemLink

Queries the item at position item_index in model for the link specified by link. If the link exists, the linked GMenuModel is returned. If the link does not exist, NULL is returned. Since 2.32

class MenuModel
getItemLink
(,
string link
)

Parameters

itemIndex int

the index of the item

the link to query

Return Value

Type: MenuModel

the linked GMenuModel, or NULL. [transfer full]

Meta