diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-05-17 16:01:08 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-05-17 16:01:08 -0400 |
commit | 93d4253c93c2817c1d9c27ed2c702ed400308186 (patch) | |
tree | 61f1e20ce53077056015b8d6baf1ef50c3eec234 /gtk/gtknative.h | |
parent | c0faf0c6b60508be67770f23bbbd79acae0bfb89 (diff) | |
download | gtk+-93d4253c93c2817c1d9c27ed2c702ed400308186.tar.gz |
native: Make gtk_native_get_surface_transform public
This api is needed to translate between surface
and widget coordinates.
Diffstat (limited to 'gtk/gtknative.h')
-rw-r--r-- | gtk/gtknative.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtknative.h b/gtk/gtknative.h index bca65089e3..600584bad3 100644 --- a/gtk/gtknative.h +++ b/gtk/gtknative.h @@ -67,6 +67,11 @@ GdkSurface *gtk_native_get_surface (GtkNative *self); GDK_AVAILABLE_IN_ALL GskRenderer *gtk_native_get_renderer (GtkNative *self); +GDK_AVAILABLE_IN_ALL +void gtk_native_get_surface_transform (GtkNative *self, + int *x, + int *y); + G_END_DECLS #endif /* __GTK_NATIVE_H__ */ |