Klasse BytesIcon

Alle implementierten Schnittstellen:
PointerInterface

public class BytesIcon extends PropertyHolder
`GBytesIcon` specifies an image held in memory in a common format (usually
PNG) to be used as icon.

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

  • Konstruktordetails Linksymbol

    • BytesIcon Linksymbol

      public BytesIcon(PointerContainer pointer)
    • BytesIcon Linksymbol

      public BytesIcon(@Nonnull Bytes bytes)
      Creates a new icon for a bytes.

      This cannot fail, but loading and interpreting the bytes may fail later on
      (for example, if g_loadable_icon_load() is called) if the image is invalid.
      Parameter:
      bytes - a #GBytes.
  • Methodendetails Linksymbol

    • getClassHandler Linksymbol

      public static ClassHandler getClassHandler()
    • getBytes Linksymbol

      public Bytes getBytes()
      Gets the #GBytes associated with the given @icon.
      Gibt zurück:
      a #GBytes.
    • asIcon Linksymbol

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

      public LoadableIcon asLoadableIcon()
      Implements interface LoadableIcon. Call this to get access to interface functions.
      Gibt zurück:
      LoadableIcon
    • 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()