Class

GioMenuAttributeIter

Description [src]

abstract class Gio.MenuAttributeIter : GObject.Object {
  parent_instance: GObject,
  priv: GMenuAttributeIterPrivate*
}

GMenuAttributeIter is an opaque structure type. You must access it using the functions below.

Available since:2.32

Hierarchy

hierarchy this GMenuAttributeIter ancestor_0 GObject ancestor_0--this

Ancestors

Instance methods

g_menu_attribute_iter_get_name

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

Available since: 2.32

g_menu_attribute_iter_get_next

This function combines g_menu_attribute_iter_next() with g_menu_attribute_iter_get_name() and g_menu_attribute_iter_get_value().

Available since: 2.32

g_menu_attribute_iter_get_value

Gets the value of the attribute at the current iterator position.

Available since: 2.32

g_menu_attribute_iter_next

Attempts to advance the iterator to the next (possibly first) attribute.

Available since: 2.32

Methods inherited from GObject (43)

Signals

Signals inherited from GObject (1)

Class structure

struct GioMenuAttributeIterClass {
  GObjectClass parent_class;
  gboolean (* get_next) (
    GMenuAttributeIter* iter,
    const gchar** out_name,
    GVariant** value
  );
  
}
Class members
parent_class
GObjectClass
  No description available.
get_next
gboolean (* get_next) (
    GMenuAttributeIter* iter,
    const gchar** out_name,
    GVariant** value
  )
  No description available.

Virtual methods

Gio.MenuAttributeIterClass.get_next

This function combines g_menu_attribute_iter_next() with g_menu_attribute_iter_get_name() and g_menu_attribute_iter_get_value().

Available since: 2.32