Top | ![]() |
![]() |
![]() |
![]() |
The functions in this section are specific to the GDK Wayland backend.
To use them, you need to include the <gdk/gdkwayland.h>
header and use
the Wayland-specific pkg-config files to build your application (either
gdk-wayland-3.0
or gtk+-wayland-3.0
).
To make your code compile with other GDK backends, guard backend-specific
calls by an ifdef as follows. Since GDK may be built with multiple
backends, you should also check for the backend that is in use (e.g. by
using the GDK_IS_WAYLAND_DISPLAY()
macro).
1 |