Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

SDL_GetAppState (3)

Name

SDL_GetAppState - Get the state of the application

Synopsis

#include "SDL.h"

Uint8 SDL_GetAppState(void);

Description

SDL_GetAppState(3)             SDL API Reference            SDL_GetAppState(3)



NAME
       SDL_GetAppState - Get the state of the application

SYNOPSIS
       #include "SDL.h"

       Uint8 SDL_GetAppState(void);

DESCRIPTION
       This  function  returns the current state of the application. The value
       returned is a bitwise combination of:

       SDL_APPMOUSEFOCUS   The application has mouse focus.

       SDL_APPINPUTFOCUS   The application has keyboard focus

       SDL_APPACTIVE       The application is visible


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | library/sdl      |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+
SEE ALSO
       SDL_ActiveEvent



NOTES
       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source       was        downloaded        from         https://www.lib-
       sdl.org/release/SDL-1.2.15.tar.gz

       Further information about this software can be found on the open source
       community website at https://www.libsdl.org/.



SDL                         Tue 11 Sep 2001, 22:59          SDL_GetAppState(3)