pygame2.sdlext.base
The pygame2.sdlext.base C API contains objects and functions for
accessing and manipulating pygame2.sdl objects in a specialised
manner.
Import
Include headers:
-
int import_pygame2_sdlext_base(void)
- Imports the pygame2.sdlext.base module. This returns 0 on
success and -1 on failure.
PyPixelArray
-
PyPixelArray
-
PyPixelArray_Type
The PyPixelArray object is used manipulating the design of the visible
mouse cursor.
Functions
-
int PyPixelArray_Check(PyObject *obj)
- Returns true, if the argument is a PyPixelArray or a subclass of
PyPixelArray.
-
PyObject* PyPixelArray_New(PyObject *obj)
- Creates a new PyPixelArray object from the passed
PySDLSurface. On failure, this returns NULL.