Class Icon.IconIface

All Implemented Interfaces:
Proxy
Enclosing interface:
Icon

public static class Icon.IconIface extends TypeInterface
GIconIface is used to implement GIcon types for various different systems. See GThemedIcon and GLoadableIcon for examples of how to implement this interface.
  • Constructor Details

    • IconIface

      public IconIface(MemorySegment address)
      Create a IconIface proxy instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
  • Method Details

    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • overrideHash

      public void overrideHash(Arena arena, @Nullable Method method)
      Override virtual method hash.
      Parameters:
      method - the method to invoke
    • overrideEqual

      public void overrideEqual(Arena arena, @Nullable Method method)
      Override virtual method equal.
      Parameters:
      method - the method to invoke
    • overrideToTokens

      public void overrideToTokens(Arena arena, @Nullable Method method)
      Override virtual method to_tokens.
      Parameters:
      method - the method to invoke
    • overrideFromTokens

      public void overrideFromTokens(Arena arena, @Nullable Method method)
      Override virtual method from_tokens.
      Parameters:
      method - the method to invoke
    • overrideSerialize

      public void overrideSerialize(Arena arena, @Nullable Method method)
      Override virtual method serialize.
      Parameters:
      method - the method to invoke