Gio.MenuAttributeIter.prototype.get_name

function get_name(): String {
    // Gjs wrapper for g_menu_attribute_iter_get_name()
}
  

Gets the name of the attribute at the current iterator position, as a string.

The iterator is not advanced.

Since 2.32

Returns

the name of the attribute