sdl3-bindgen-sys
Safe HaskellNone
LanguageGHC2021

SDL3.Sys.Bindgen.System

Synopsis

Documentation

data XEvent Source #

C declaration
union _XEvent, defined at SDL3/SDL_system.h 141:15

newtype SDL_X11EventHook_Aux Source #

Auxiliary type used by SDL_X11EventHook

C declaration
SDL_X11EventHook, defined at SDL3/SDL_system.h 163:24

Constructors

SDL_X11EventHook_Aux 

Fields

Instances

Instances details
Generic SDL_X11EventHook_Aux Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Associated Types

type Rep SDL_X11EventHook_Aux 
Instance details

Defined in SDL3.Sys.Bindgen.System

type Rep SDL_X11EventHook_Aux = D1 ('MetaData "SDL_X11EventHook_Aux" "SDL3.Sys.Bindgen.System" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_X11EventHook_Aux" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ptr Void -> Ptr XEvent -> IO CBool))))
FromFunPtr SDL_X11EventHook_Aux Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

ToFunPtr SDL_X11EventHook_Aux Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

HasCField SDL_X11EventHook_Aux "unwrap" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Associated Types

type CFieldType SDL_X11EventHook_Aux "unwrap" 
Instance details

Defined in SDL3.Sys.Bindgen.System

Methods

offset# :: Proxy# SDL_X11EventHook_Aux -> Proxy# "unwrap" -> Int #

ty ~ (Ptr Void -> Ptr XEvent -> IO CBool) => HasField "unwrap" SDL_X11EventHook_Aux ty Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

ty ~ (Ptr Void -> Ptr XEvent -> IO CBool) => HasField "unwrap" (Ptr SDL_X11EventHook_Aux) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

type Rep SDL_X11EventHook_Aux Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

type Rep SDL_X11EventHook_Aux = D1 ('MetaData "SDL_X11EventHook_Aux" "SDL3.Sys.Bindgen.System" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_X11EventHook_Aux" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ptr Void -> Ptr XEvent -> IO CBool))))
type CFieldType SDL_X11EventHook_Aux "unwrap" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

newtype SDL_X11EventHook Source #

A callback to be used with SDL_SetX11EventHook.

This callback may modify the event, and should return true if the event should continue to be processed, or false to prevent further processing.

As this is processing an event directly from the X11 event loop, this callback should do the minimum required work and return quickly.

userdata
the app-defined pointer provided to SDL_SetX11EventHook.
xevent
a pointer to an Xlib XEvent union to process.
Returns
true to let event continue on, false to drop it.
Thread safety
This may only be called (by SDL) from the thread handling the X11 event loop.
See also
sDL_SetX11EventHook
C declaration
SDL_X11EventHook, defined at SDL3/SDL_system.h 163:24

Since: 3.2.0

Instances

Instances details
Storable SDL_X11EventHook Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Generic SDL_X11EventHook Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Associated Types

type Rep SDL_X11EventHook 
Instance details

Defined in SDL3.Sys.Bindgen.System

type Rep SDL_X11EventHook = D1 ('MetaData "SDL_X11EventHook" "SDL3.Sys.Bindgen.System" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_X11EventHook" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (FunPtr SDL_X11EventHook_Aux))))
Show SDL_X11EventHook Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Eq SDL_X11EventHook Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Ord SDL_X11EventHook Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

HasFFIType SDL_X11EventHook Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

ReadRaw SDL_X11EventHook Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

StaticSize SDL_X11EventHook Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

WriteRaw SDL_X11EventHook Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

HasCField SDL_X11EventHook "unwrap" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Associated Types

type CFieldType SDL_X11EventHook "unwrap" 
Instance details

Defined in SDL3.Sys.Bindgen.System

Methods

offset# :: Proxy# SDL_X11EventHook -> Proxy# "unwrap" -> Int #

ty ~ FunPtr SDL_X11EventHook_Aux => HasField "unwrap" SDL_X11EventHook ty Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Methods

hasField :: SDL_X11EventHook -> (ty -> SDL_X11EventHook, ty) #

ty ~ FunPtr SDL_X11EventHook_Aux => HasField "unwrap" (Ptr SDL_X11EventHook) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

type Rep SDL_X11EventHook Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

type Rep SDL_X11EventHook = D1 ('MetaData "SDL_X11EventHook" "SDL3.Sys.Bindgen.System" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_X11EventHook" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (FunPtr SDL_X11EventHook_Aux))))
type FFIType SDL_X11EventHook Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

type CFieldType SDL_X11EventHook "unwrap" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

newtype SDL_Sandbox Source #

Application sandbox environment.

C declaration
enum SDL_Sandbox, defined at SDL3/SDL_system.h 650:14

Since: 3.2.0

Constructors

SDL_Sandbox 

Fields

Instances

Instances details
Storable SDL_Sandbox Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Generic SDL_Sandbox Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Associated Types

type Rep SDL_Sandbox 
Instance details

Defined in SDL3.Sys.Bindgen.System

type Rep SDL_Sandbox = D1 ('MetaData "SDL_Sandbox" "SDL3.Sys.Bindgen.System" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_Sandbox" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt)))
Read SDL_Sandbox Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Show SDL_Sandbox Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Eq SDL_Sandbox Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Ord SDL_Sandbox Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Prim SDL_Sandbox Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

CEnum SDL_Sandbox Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Associated Types

type CEnumZ SDL_Sandbox 
Instance details

Defined in SDL3.Sys.Bindgen.System

SequentialCEnum SDL_Sandbox Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

HasFFIType SDL_Sandbox Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Associated Types

type FFIType SDL_Sandbox 
Instance details

Defined in SDL3.Sys.Bindgen.System

ReadRaw SDL_Sandbox Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

StaticSize SDL_Sandbox Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

WriteRaw SDL_Sandbox Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Methods

writeRaw :: Ptr SDL_Sandbox -> SDL_Sandbox -> IO () #

HasCField SDL_Sandbox "unwrap" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Associated Types

type CFieldType SDL_Sandbox "unwrap" 
Instance details

Defined in SDL3.Sys.Bindgen.System

type CFieldType SDL_Sandbox "unwrap" = CUInt

Methods

offset# :: Proxy# SDL_Sandbox -> Proxy# "unwrap" -> Int #

ty ~ CUInt => HasField "unwrap" SDL_Sandbox ty Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Methods

hasField :: SDL_Sandbox -> (ty -> SDL_Sandbox, ty) #

ty ~ CUInt => HasField "unwrap" (Ptr SDL_Sandbox) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

Methods

getField :: Ptr SDL_Sandbox -> Ptr ty #

type Rep SDL_Sandbox Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

type Rep SDL_Sandbox = D1 ('MetaData "SDL_Sandbox" "SDL3.Sys.Bindgen.System" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_Sandbox" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt)))
type CEnumZ SDL_Sandbox Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

type FFIType SDL_Sandbox Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

type CFieldType SDL_Sandbox "unwrap" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.System

type CFieldType SDL_Sandbox "unwrap" = CUInt

pattern SDL_SANDBOX_NONE :: SDL_Sandbox Source #

C declaration
SDL_SANDBOX_NONE, defined at SDL3/SDL_system.h 652:5

pattern SDL_SANDBOX_UNKNOWN_CONTAINER :: SDL_Sandbox Source #

C declaration
SDL_SANDBOX_UNKNOWN_CONTAINER, defined at SDL3/SDL_system.h 653:5

pattern SDL_SANDBOX_FLATPAK :: SDL_Sandbox Source #

C declaration
SDL_SANDBOX_FLATPAK, defined at SDL3/SDL_system.h 654:5

pattern SDL_SANDBOX_SNAP :: SDL_Sandbox Source #

C declaration
SDL_SANDBOX_SNAP, defined at SDL3/SDL_system.h 655:5

pattern SDL_SANDBOX_MACOS :: SDL_Sandbox Source #

C declaration
SDL_SANDBOX_MACOS, defined at SDL3/SDL_system.h 656:5