Class XSelectionRequestEvent

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class XSelectionRequestEvent extends Struct<XSelectionRequestEvent> implements NativeResource
SelectionRequest event structure.

Layout


 struct XSelectionRequestEvent {
     int type;
     unsigned long serial();
     Bool send_event();
     Display * display();
     Window owner;
     Window requestor;
     Atom selection;
     Atom target;
     Atom property;
     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.
    • OWNER

      public static final int OWNER
      The struct member offsets.
    • REQUESTOR

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

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

      public static final int TARGET
      The struct member offsets.
    • PROPERTY

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

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

    • XSelectionRequestEvent

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