Klasse FileIcon

Alle implementierten Schnittstellen:
PointerInterface

public class FileIcon extends PropertyHolder
`GFileIcon` specifies an icon by pointing to an image file
to be used as icon.

It implements [iface@Gio.LoadableIcon].

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

  • Konstruktordetails

    • FileIcon

      public FileIcon(PointerContainer pointer)
    • FileIcon

      public FileIcon(@Nonnull File file)
      Creates a new icon for a file.
      Parameter:
      file - a #GFile.
  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getFile

      public File getFile()
      Gets the #GFile associated with the given @icon.
      Gibt zurück:
      a #GFile.
    • asIcon

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

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