Klasse EmblemedIcon

Alle implementierten Schnittstellen:
PointerInterface

public class EmblemedIcon extends PropertyHolder
`GEmblemedIcon` is an implementation of [iface@Gio.Icon] that supports
adding an emblem to an icon. Adding multiple emblems to an
icon is ensured via [method@Gio.EmblemedIcon.add_emblem].

Note that `GEmblemedIcon` allows no control over the position
of the emblems. See also [class@Gio.Emblem] for more information.

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

  • Konstruktordetails Linksymbol

    • EmblemedIcon Linksymbol

      public EmblemedIcon(PointerContainer pointer)
    • EmblemedIcon Linksymbol

      public EmblemedIcon(@Nonnull Icon icon, @Nullable Emblem emblem)
      Creates a new emblemed icon for @icon with the emblem @emblem.
      Parameter:
      icon - a #GIcon
      emblem - a #GEmblem, or %NULL
  • Methodendetails Linksymbol

    • getClassHandler Linksymbol

      public static ClassHandler getClassHandler()
    • addEmblem Linksymbol

      public void addEmblem(@Nonnull Emblem emblem)
      Adds @emblem to the #GList of #GEmblems.
      Parameter:
      emblem - a #GEmblem
    • clearEmblems Linksymbol

      public void clearEmblems()
      Removes all the emblems from @icon.
    • getEmblems Linksymbol

      public List getEmblems()
      Gets the list of emblems for the @icon.
      Gibt zurück:
      a #GList of #GEmblems that is owned by @emblemed
    • getIcon Linksymbol

      public Icon getIcon()
      Gets the main icon for @emblemed.
      Gibt zurück:
      a #GIcon that is owned by @emblemed
    • asIcon Linksymbol

      public Icon asIcon()
      Implements interface Icon. Call this to get access to interface functions.
      Gibt zurück:
      Icon
    • getTypeID Linksymbol

      public static long getTypeID()
    • getParentTypeID Linksymbol

      public static long getParentTypeID()
    • getTypeSize Linksymbol

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize Linksymbol

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize Linksymbol

      public static int getInstanceSize()