Class XDestroyWindowEvent

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class XDestroyWindowEvent extends Struct<XDestroyWindowEvent> implements NativeResource

Layout


 struct XDestroyWindowEvent {
     int type;
     unsigned long serial();
     Bool send_event();
     Display * display();
     Window event;
     Window window;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • TYPE

      public static final int TYPE
      The struct member offsets.
    • SERIAL

      public static final int SERIAL
      The struct member offsets.
    • SEND_EVENT

      public static final int SEND_EVENT
      The struct member offsets.
    • DISPLAY

      public static final int DISPLAY
      The struct member offsets.
    • EVENT

      public static final int EVENT
      The struct member offsets.
    • WINDOW

      public static final int WINDOW
      The struct member offsets.
  • Constructor Details

    • XDestroyWindowEvent

      public XDestroyWindowEvent(ByteBuffer container)
      Creates a XDestroyWindowEvent instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details