Class XSelectionClearEvent

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class XSelectionClearEvent extends Struct<XSelectionClearEvent> implements NativeResource

 struct XSelectionClearEvent {
     int type;
     unsigned long serial;
     Bool send_event;
     Display * display;
     Window window;
     Atom selection;
     Time time;
 }
  • 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.
    • WINDOW

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

      public static final int SELECTION
      The struct member offsets.
    • TIME

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

    • XSelectionClearEvent

      public XSelectionClearEvent(ByteBuffer container)
      Creates a XSelectionClearEvent 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