Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkdebug.h
Go to the documentation of this file.
1/* GTK - The GIMP Toolkit
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18/*
19 * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
20 * file for a list of people on the GTK+ Team. See the ChangeLog
21 * files for a list of changes. These files are distributed with
22 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
23 */
24
25#pragma once
26
27#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
28#error "Only <gtk/gtk.h> can be included directly."
29#endif
30
31#include <glib.h>
32#include <gdk/gdk.h>
33
35
36/**
37 * GtkDebugFlags:
38 * @GTK_DEBUG_TEXT: Information about GtkTextView
39 * @GTK_DEBUG_TREE: Information about GtkTreeView
40 * @GTK_DEBUG_KEYBINDINGS: Information about keyboard shortcuts
41 * @GTK_DEBUG_MODULES: Information about modules and extensions
42 * @GTK_DEBUG_GEOMETRY: Information about size allocation
43 * @GTK_DEBUG_ICONTHEME: Information about icon themes
44 * @GTK_DEBUG_PRINTING: Information about printing
45 * @GTK_DEBUG_BUILDER: Trace GtkBuilder operation
46 * @GTK_DEBUG_SIZE_REQUEST: Information about size requests
47 * @GTK_DEBUG_NO_CSS_CACHE: Disable the style property cache
48 * @GTK_DEBUG_INTERACTIVE: Open the GTK inspector
49 * @GTK_DEBUG_ACTIONS: Information about actions and menu models
50 * @GTK_DEBUG_LAYOUT: Information from layout managers
51 * @GTK_DEBUG_SNAPSHOT: Include debug render nodes in the generated snapshots
52 * @GTK_DEBUG_CONSTRAINTS: Information from the constraints solver
53 * @GTK_DEBUG_BUILDER_OBJECTS: Log unused GtkBuilder objects
54 * @GTK_DEBUG_A11Y: Information about accessibility state changes
55 *
56 * Flags to use with gtk_set_debug_flags().
57 *
58 * Settings these flags causes GTK to print out different
59 * types of debugging information. Some of these flags are
60 * only available when GTK has been configured with `-Ddebug=true`.
61 */
62
63/**
64 * GTK_DEBUG_ICONFALLBACK:
65 *
66 * Information about icon fallback.
67 *
68 * Since: 4.2
69 */
70
71/**
72 * GTK_DEBUG_INVERT_TEXT_DIR:
73 *
74 * Inverts the default text-direction.
75 *
76 * Since: 4.8
77 */
78
79/**
80 * GTK_DEBUG_CSS:
81 *
82 * Information about deprecated CSS features.
83 *
84 * Since: 4.16
85 */
108
109/**
110 * GTK_DEBUG_CHECK:
111 * @type: type to check
112 *
113 * Whether the `type` debug flag is set.
114 **/
115#define GTK_DEBUG_CHECK(type) G_UNLIKELY (gtk_get_debug_flags () & GTK_DEBUG_##type)
116
121
123
#define GDK_AVAILABLE_IN_ALL
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
GDK_AVAILABLE_IN_ALL GtkDebugFlags gtk_get_debug_flags(void)
GtkDebugFlags
Definition gtkdebug.h:86
@ GTK_DEBUG_PRINTING
Definition gtkdebug.h:93
@ GTK_DEBUG_TEXT
Definition gtkdebug.h:87
@ GTK_DEBUG_KEYBINDINGS
Definition gtkdebug.h:89
@ GTK_DEBUG_MODULES
Definition gtkdebug.h:90
@ GTK_DEBUG_TREE
Definition gtkdebug.h:88
@ GTK_DEBUG_CSS
Definition gtkdebug.h:106
@ GTK_DEBUG_INTERACTIVE
Definition gtkdebug.h:97
@ GTK_DEBUG_NO_CSS_CACHE
Definition gtkdebug.h:96
@ GTK_DEBUG_ACTIONS
Definition gtkdebug.h:98
@ GTK_DEBUG_INVERT_TEXT_DIR
Definition gtkdebug.h:105
@ GTK_DEBUG_SIZE_REQUEST
Definition gtkdebug.h:95
@ GTK_DEBUG_SNAPSHOT
Definition gtkdebug.h:100
@ GTK_DEBUG_GEOMETRY
Definition gtkdebug.h:91
@ GTK_DEBUG_A11Y
Definition gtkdebug.h:103
@ GTK_DEBUG_BUILDER_OBJECTS
Definition gtkdebug.h:102
@ GTK_DEBUG_LAYOUT
Definition gtkdebug.h:99
@ GTK_DEBUG_CONSTRAINTS
Definition gtkdebug.h:101
@ GTK_DEBUG_BUILDER
Definition gtkdebug.h:94
@ GTK_DEBUG_ICONFALLBACK
Definition gtkdebug.h:104
@ GTK_DEBUG_ICONTHEME
Definition gtkdebug.h:92
GDK_AVAILABLE_IN_ALL void gtk_set_debug_flags(GtkDebugFlags flags)