Class GrabBrokenEvent

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class GrabBrokenEvent extends Event
An event related to a broken windowing system grab.
  • Constructor Details

    • GrabBrokenEvent

      public GrabBrokenEvent(MemorySegment address)
      Create a GrabBrokenEvent 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 GrabBrokenEvent class.
      Returns:
      the GType
    • getMemoryLayout

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

      protected GrabBrokenEvent 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
    • getGrabSurface

      public Surface getGrabSurface()
      Extracts the grab surface from a grab broken event.
      Returns:
      the grab surface of this GrabBrokenEvent
    • getImplicit

      public boolean getImplicit()
      Checks whether the grab broken event is for an implicit grab.
      Returns:
      true if the an implicit grab was broken