forked from AuroraMiddleware/gtk
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:
parent
514efb51b0
commit
b8531087bd
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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__ */
|
||||
|
@ -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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user