MenuLinkIter.getNext

This function combines Menu.linkIterNext with Menu.linkIterGetName and Menu.linkIterGetValue.

First the iterator is advanced to the next (possibly first) link. If that fails, then FALSE is returned and there are no other effects.

If successful, out_link and value are set to the name and gio.MenuModel of the link that has just been advanced to. At this point, Menu.linkIterGetName and Menu.linkIterGetValue will return the same values again.

The value returned in out_link remains valid for as long as the iterator remains at the current position. The value returned in value must be unreffed using g_object_unref() when it is no longer in use.

class MenuLinkIter
bool
getNext
(
out string outLink
,)

Parameters

the name of the link

value MenuModel

the linked gio.MenuModel

Return Value

Type: bool

TRUE on success, or FALSE if there is no additional link

Meta

Since

2.32