Gio.MenuModel::get_item_link

function vfunc_get_item_link(item_index: Number(gint), link: String): Gio.MenuModel {
}
  

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.

Since 2.32

item_index

the index of the item

link

the link to query

Returns

the linked Gio.MenuModel, or null