diff --git a/docs/reference/gtk/running.md b/docs/reference/gtk/running.md index bcc69eeeaa..2a689aeec1 100644 --- a/docs/reference/gtk/running.md +++ b/docs/reference/gtk/running.md @@ -576,6 +576,12 @@ To enable the GTK inspector, you can use the Control+Shift Control+Shift+D keyboard shortcuts, or set the `GTK_DEBUG=interactive` environment variable. +After opening the inspector, it listens for a few keyboard shortcuts that +let you use its frame and event recording functionality without moving the +focus away from the application window: Super+R turns +the recording on and off, and Super+C records a single +frame. + There are a few more environment variables that can be set to influence how the inspector renders its UI. `GTK_INSPECTOR_DISPLAY` and `GTK_INSPECTOR_RENDERER` determine the GDK display and the GSK @@ -586,6 +592,7 @@ the GTK inspector. The keyboard shortcuts can be disabled with the `enable-inspector-keybinding` key in the `org.gtk.Settings.Debug` GSettings schema. + ## Profiling GTK supports profiling with sysprof. It exports timing information