diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt index 338e80e1b9..e9af026182 100644 --- a/docs/reference/gtk/gtk4-sections.txt +++ b/docs/reference/gtk/gtk4-sections.txt @@ -7110,17 +7110,26 @@ gtk_media_stream_get_type gtkroot GtkRoot GtkRoot -gtk_root_get_for_surface +gtk_root_get_display gtk_root_get_focus gtk_root_set_focus - -gtk_root_install_properties - gtk_root_get_type +
+gtknative +GtkNative +gtk_native_get_for_surface +gtk_native_get_surface +gtk_native_get_renderer +gtk_native_check_resize + + +gtk_native_get_type +
+
gtklayoutmanager GtkLayoutManager 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) {