inspector: All to turn it on programmatically

Export gtk_window_set_interactive_debugging.
https://bugzilla.gnome.org/show_bug.cgi?id=730008
This commit is contained in:
Matthias Clasen 2014-05-13 14:08:15 -04:00
parent 514efb51b0
commit b8531087bd
4 changed files with 14 additions and 2 deletions

View File

@ -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
<SUBSECTION Standard>
GTK_WINDOW

View File

@ -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)
{

View File

@ -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__ */

View File

@ -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__ */