Top |
Functions
GtkNative * | gtk_native_get_for_surface () |
GdkSurface * | gtk_native_get_surface () |
GskRenderer * | gtk_native_get_renderer () |
void | gtk_native_get_surface_transform () |
void | gtk_native_realize () |
void | gtk_native_unrealize () |
Known Implementations
GtkNative is implemented by GtkAboutDialog, GtkAppChooserDialog, GtkApplicationWindow, GtkAssistant, GtkColorChooserDialog, GtkDialog, GtkDragIcon, GtkEmojiChooser, GtkFileChooserDialog, GtkFontChooserDialog, GtkMessageDialog, GtkPageSetupUnixDialog, GtkPopover, GtkPopoverMenu, GtkPrintUnixDialog, GtkShortcutsWindow and GtkWindow.
Description
GtkNative is the interface implemented by all widgets that can provide a GdkSurface for widgets to render on.
Functions
gtk_native_get_for_surface ()
GtkNative *
gtk_native_get_for_surface (GdkSurface *surface
);
Finds the GtkNative associated with the surface.
gtk_native_get_surface ()
GdkSurface *
gtk_native_get_surface (GtkNative *self
);
Returns the surface of this GtkNative.
gtk_native_get_renderer ()
GskRenderer *
gtk_native_get_renderer (GtkNative *self
);
Returns the renderer that is used for this GtkNative.
gtk_native_get_surface_transform ()
void gtk_native_get_surface_transform (GtkNative *self
,double *x
,double *y
);
Retrieves the surface transform of self
. This is the translation
from self
's surface coordinates into self
's widget coordinates.