- public void clear_error ()
- public void emit_error (ErrorCode code)
- public unowned string get_error ()
- public uint32 get_initialized (uint32 flags)
Use this function to return a mask of the specified subsystems which
have previously been initialized.
- public PowerState get_power_info (out int seconds_left, out int percentage_left)
- public int init (uint32 flags = EVERYTHING)
Use this function to initialize the SDL library. This must be called
before using any other SDL function.
- public int init_subsystem (uint32 flags)
Use this function to initialize specific SDL subsystems.
- public void quit ()
Use this function to clean up all initialized subsystems. You should
call it upon all exit conditions.
- public void quit_subsystem (uint32 flags)
Use this function to shut down specific SDL subsystems.
- public int set_error (string format, ...)