Top | ![]() |
![]() |
![]() |
![]() |
#define | GDK_WINDOWING_X11 |
#define | GDK_WINDOWING_WIN32 |
#define | GDK_WINDOWING_QUARTZ |
#define | GDK_WINDOWING_WAYLAND |
#define | GDK_VERSION_4_0 |
#define | GDK_VERSION_MIN_REQUIRED |
#define | GDK_VERSION_MAX_ALLOWED |
#define | GDK_DISABLE_DEPRECATION_WARNINGS |
This section describes the GDK initialization functions and miscellaneous utility functions, as well as deprecation facilities.
The GDK and GTK headers annotate deprecated APIs in a way that produces
compiler warnings if these deprecated APIs are used. The warnings
can be turned off by defining the macro GDK_DISABLE_DEPRECATION_WARNINGS
before including the glib.h header.
GDK and GTK also provide support for building applications against
defined subsets of deprecated or new APIs. Define the macro
GDK_VERSION_MIN_REQUIRED
to specify up to what version
you want to receive warnings about deprecated APIs. Define the
macro GDK_VERSION_MAX_ALLOWED
to specify the newest version
whose API you want to use.