Class SDL_TextEditingCandidatesEvent

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class SDL_TextEditingCandidatesEvent extends Struct<SDL_TextEditingCandidatesEvent> implements NativeResource
struct SDL_TextEditingCandidatesEvent {
    SDL_EventType type;
    Uint32 reserved;
    Uint64 timestamp;
    SDL_WindowID windowID;
    char const * const * candidates;
    Sint32 num_candidates;
    Sint32 selected_candidate;
    bool horizontal;
    Uint8 padding1;
    Uint8 padding2;
    Uint8 padding3;
}
  • 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.
    • RESERVED

      public static final int RESERVED
      The struct member offsets.
    • TIMESTAMP

      public static final int TIMESTAMP
      The struct member offsets.
    • WINDOWID

      public static final int WINDOWID
      The struct member offsets.
    • CANDIDATES

      public static final int CANDIDATES
      The struct member offsets.
    • NUM_CANDIDATES

      public static final int NUM_CANDIDATES
      The struct member offsets.
    • SELECTED_CANDIDATE

      public static final int SELECTED_CANDIDATE
      The struct member offsets.
    • HORIZONTAL

      public static final int HORIZONTAL
      The struct member offsets.
    • PADDING1

      public static final int PADDING1
      The struct member offsets.
    • PADDING2

      public static final int PADDING2
      The struct member offsets.
    • PADDING3

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

    • SDL_TextEditingCandidatesEvent

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