Class MenuLinkIter

All Implemented Interfaces:
PointerInterface

public class MenuLinkIter extends Object
#GMenuLinkIter is an opaque structure type. You must access it using
the functions below.

https://docs.gtk.org/gio/class.MenuLinkIter.html

  • Constructor Details

  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getName

      public Str getName()
      Gets the name of the link at the current iterator position.

      The iterator is not advanced.
      Returns:
      the type of the link
    • getValue

      public MenuModel getValue()
      Gets the linked #GMenuModel at the current iterator position.

      The iterator is not advanced.
      Returns:
      the #GMenuModel that is linked to
    • next

      public boolean next()
      Attempts to advance the iterator to the next (possibly first)
      link.

      %TRUE is returned on success, or %FALSE if there are no more links.

      You must call this function when you first acquire the iterator to
      advance it to the first link (and determine if the first link exists
      at all).
      Returns:
      %TRUE on success, or %FALSE when there are no more links
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()