Top | ![]() |
![]() |
![]() |
![]() |
GdkDrawContext is the base object used by contexts implementing different rendering methods, such as GdkGLContext or GdkVulkanContext. It provides shared functionality between those contexts.
You will always interact with one of those s.ubclasses.
A GdkDrawContext is always associated with a single toplevel window.
GdkDisplay *
gdk_draw_context_get_display (GdkDrawContext *context
);
Retrieves the GdkDisplay the context
is created for
Since: 3.90
GdkWindow *
gdk_draw_context_get_window (GdkDrawContext *context
);
Retrieves the GdkWindow used by the context
.
Since: 3.90