DebugFlags#

class DebugFlags#

Flags to use with set_debug_flags().

Settings these flags causes GTK to print out different types of debugging information. Some of these flags are only available when GTK has been configured with -Ddebug=true.

Fields#

class DebugFlags
A11Y#

Information about accessibility state changes

ACTIONS#

Information about actions and menu models

BUILDER#

Information about deprecated GtkBuilder features.

Added in version 4.18.

BUILDER_OBJECTS#

Log unused GtkBuilder objects

BUILDER_TRACE#

Trace GtkBuilder operation

CONSTRAINTS#

Information from the constraints solver

CSS#

Information about deprecated CSS features.

Added in version 4.16.

GEOMETRY#

Information about size allocation

ICONFALLBACK#

Information about icon fallback.

Added in version 4.2.

ICONTHEME#

Information about icon themes

INTERACTIVE#

Open the GTK inspector

INVERT_TEXT_DIR#

Inverts the default text-direction.

Added in version 4.8.

KEYBINDINGS#

Information about keyboard shortcuts

LAYOUT#

Information from layout managers

MODULES#

Information about modules and extensions

NO_CSS_CACHE#

Disable the style property cache

PRINTING#

Information about printing

SESSION#

Information about session saving.

Added in version 4.22.

SIZE_REQUEST#

Information about size requests

SNAPSHOT#

Include debug render nodes in the generated snapshots

TEXT#

Information about GtkTextView

TOUCHSCREEN#

Show touch UI elements for pointer events.

Added in version 4.20.

TREE#

Information about GtkTreeView