Class FileIcon

All Implemented Interfaces:
PointerInterface

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

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

  • Constructor Details

    • FileIcon

      public FileIcon(PointerContainer pointer)
    • FileIcon

      public FileIcon(@Nonnull File file)
      Creates a new icon for a file.
      Parameters:
      file - a #GFile.
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getFile

      public File getFile()
      Gets the #GFile associated with the given @icon.
      Returns:
      a #GFile.
    • asIcon

      public Icon asIcon()
      Implements interface Icon. Call this to get access to interface functions.
      Returns:
      Icon
    • asLoadableIcon

      public LoadableIcon asLoadableIcon()
      Implements interface LoadableIcon. Call this to get access to interface functions.
      Returns:
      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()