Class SDL_SysWMInfo


  • @FieldOrder({"version","subsystem","info"})
    public final class SDL_SysWMInfo
    extends com.sun.jna.Structure
    The custom window manager information structure.

    When this structure is returned, it holds information about which low level system it is using, and will be one of SDL_SYSWM_TYPE.

    Your application has access to a special type of event SDL_SYSWMEVENT, which contains window-manager specific information and arrives whenever an unhandled window event occurs. This event is ignored by default, but you can enable it with SdlEvents.SDL_EventState(int, int).

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.sun.jna.Structure

        com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue, com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void read()  
      • Methods inherited from class com.sun.jna.Structure

        allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
    • Constructor Detail

      • SDL_SysWMInfo

        public SDL_SysWMInfo()
      • SDL_SysWMInfo

        public SDL_SysWMInfo​(SDL_version version)
      • SDL_SysWMInfo

        public SDL_SysWMInfo​(com.sun.jna.Pointer p,
                             SDL_version version)
    • Method Detail

      • read

        public void read()
        Overrides:
        read in class com.sun.jna.Structure