src_c/window.c

This extension module defines Python type pygame.Windowpygame object that represents a window.

Header file: src_c/include/pygame.h

type pgWindowObject

A pygame.window.Window instance.

PyTypeObject *pgWindow_Type

The pygame.window.Window Python type.

int pgWindow_Check(PyObject *x)

Return true if x is a pygame.window.Window instance

Will return false if x is not a subclass of Window. This is a macro. No check is made that x is not NULL.




Edit on GitHub