Gio.MenuAttributeIter.prototype.next
function next(): Boolean { // Gjs wrapper for g_menu_attribute_iter_next() }
Attempts to advance the iterator to the next (possibly first) attribute.
true is returned on success, or false if there are no more attributes.
You must call this function when you first acquire the iterator to advance it to the first attribute (and determine if the first attribute exists at all).
Since 2.32
- Returns
true on success, or false when there are no more attributes