MenuLinkIter.getNext
bool getNext(out string outLink, out gio.menu_model.MenuModel value)This function combines gio.menu_link_iter.MenuLinkIter.next with gio.menu_link_iter.MenuLinkIter.getName and gio.menu_link_iter.MenuLinkIter.getValue.
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 #GMenuModel of the link that has just been advanced to. At this point, gio.menu_link_iter.MenuLinkIter.getName and gio.menu_link_iter.MenuLinkIter.getValue 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 gobject.object.ObjectWrap.unref when it is no longer in use.
Parameters
outLink | the name of the link |
value | the linked #GMenuModel |