src_c/display.c露
This is the pygame.displaypygame module to control the display window and screen extension module.
Header file: src_c/include/pygame.h
-
type pgVidInfoObject露
A pygame object that wraps an SDL_VideoInfo struct. The object returned by
pygame.display.Info().
-
PyTypeObject *pgVidInfo_Type露
The pgVidInfoObject object Python type.
-
SDL_VideoInfo pgVidInfo_AsVidInfo(PyObject *obj)露
Return the SDL_VideoInfo field of obj, a
pgVidInfo_Typeinstance. This macro does not check that obj is notNULLor an actualpgVidInfoObjectobject.
-
PyObject *pgVidInfo_New(SDL_VideoInfo *i)露
Return a new
pgVidInfoObjectobject for the SDL_VideoInfo i. On failure, raise a Python exception and returnNULL.
-
int pgVidInfo_Check(PyObject *x)露
Return true if x is a
pgVidInfo_TypeinstanceWill return false if x is a subclass of
pgVidInfo_Type. This macro does not check that x is notNULL.
Edit on GitHub