Class DNDEvent

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class DNDEvent extends Event
An event related to drag and drop operations.
  • Constructor Details

    • DNDEvent

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

    • getType

      public static @Nullable Type getType()
      Get the GType of the DNDEvent class.
      Returns:
      the GType
    • getMemoryLayout

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

      protected DNDEvent asParent()
      Return this instance as if it were its parent type. Comparable to the Java super keyword, but ensures the parent typeclass is also used in native code.
      Overrides:
      asParent in class Event
      Returns:
      the instance as if it were its parent type
    • getDrop

      public @Nullable Drop getDrop()
      Gets the GdkDrop object from a DND event.
      Returns:
      the drop