diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-05-28 16:22:18 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-05-28 20:24:37 +0000 |
commit | d51c85cf4edeac31492014cc1c141692feef3ff6 (patch) | |
tree | 29e374f0e86772089973ba2ffcab62529e441cd9 /gtk/gtknative.c | |
parent | 12a16a298bcf4ac07723dac7371711b732db6286 (diff) | |
download | gtk+-d51c85cf4edeac31492014cc1c141692feef3ff6.tar.gz |
native: Add to docs
Diffstat (limited to 'gtk/gtknative.c')
-rw-r--r-- | gtk/gtknative.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/gtknative.c b/gtk/gtknative.c index 4f5feb0593..5b8f760349 100644 --- a/gtk/gtknative.c +++ b/gtk/gtknative.c @@ -112,6 +112,15 @@ gtk_native_get_surface_transform (GtkNative *self, return GTK_NATIVE_GET_IFACE (self)->get_surface_transform (self, x, y); } +/** + * gtk_native_check_resize: + * @self: a #GtkNative + * + * Reposition and resize a #GtkNative. + * + * Widgets need to call this function on their attached + * native widgets when they receive a new size allocation. + */ void gtk_native_check_resize (GtkNative *self) { |