diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt index 88d6feebb6..563b0775c8 100644 --- a/docs/reference/gtk/gtk3-sections.txt +++ b/docs/reference/gtk/gtk3-sections.txt @@ -5710,6 +5710,7 @@ gtk_window_get_application gtk_window_set_application gtk_window_set_has_user_ref_count gtk_window_set_titlebar +gtk_window_set_interactive_debugging GTK_WINDOW diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 88bee589c5..105e0e072b 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -12432,6 +12432,16 @@ _gtk_window_get_popover_position (GtkWindow *window, static GtkWidget *inspector_window = NULL; +/** + * gtk_window_set_interactive_debugging: + * @enable: %TRUE to enable interactive debugging + * + * Opens or closes the [interactive debugger][interactive-debugging], + * which offers access to the widget hierarchy of the application + * and to useful debugging tools. + * + * Since: 3.14 + */ void gtk_window_set_interactive_debugging (gboolean enable) { diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h index 6c7a58344d..440b3d4266 100644 --- a/gtk/gtkwindow.h +++ b/gtk/gtkwindow.h @@ -483,6 +483,9 @@ void gtk_window_set_titlebar (GtkWindow *window, GDK_AVAILABLE_IN_3_12 gboolean gtk_window_is_maximized (GtkWindow *window); +GDK_AVAILABLE_IN_3_14 +void gtk_window_set_interactive_debugging (gboolean enable); + G_END_DECLS #endif /* __GTK_WINDOW_H__ */ diff --git a/gtk/gtkwindowprivate.h b/gtk/gtkwindowprivate.h index c4f191ccd4..704026d001 100644 --- a/gtk/gtkwindowprivate.h +++ b/gtk/gtkwindowprivate.h @@ -110,8 +110,6 @@ void _gtk_window_get_popover_position (GtkWindow *window, GdkPixbuf *gtk_window_get_icon_for_size (GtkWindow *window, gint size); -void gtk_window_set_interactive_debugging (gboolean enable); - G_END_DECLS #endif /* __GTK_WINDOW_PRIVATE_H__ */