X Window System Interaction

X Window System Interaction — X backend-specific functions

Synopsis

#include <gdk/gdkx.h>

Description

The functions in this section are specific to the GDK X11 backend. To use them, you need to include the <gdk/gdkx.h> header and use the X11-specific pkg-config files to build your application (either gdk-x11-3.0 or gtk+-x11-3.0).

To make your code compile with other GDK backends, guard backend-specific calls by an ifdef as follows:

1
2
3
#ifdef GDK_WINDOWING_X11
  /* X11-specific calls here... */
#endif

Details