get_item_link


Description:

public virtual MenuModel? get_item_link (int item_index, string link)

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

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

Parameters:

this

a MenuModel

item_index

the index of the item

link

the link to query

Returns:

the linked MenuModel, or null




2022 vala-language.org