Gio.MenuModel.prototype.iterate_item_links
function iterate_item_links(item_index: Number(gint)): Gio.MenuLinkIter {
// Gjs wrapper for g_menu_model_iterate_item_links()
}
Creates a Gio.MenuLinkIter to iterate over the links of the item at position item_index in model.
You must free the iterator with GObject.Object.prototype.unref when you are done.
Since 2.32
- item_index
the index of the item
- Returns
a new Gio.MenuLinkIter