Debian Codegraph @

gtk/gtkshortcutaction.h

raw symbols SCIP
1 /*
2 * Copyright © 2018 Benjamin Otte
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.1 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 * Authors: Benjamin Otte <[email protected]>
18 */
19
20 #pragma once
21
22 #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATIONcxx . . $ `<built-in>:420:9`!)
23 #error "Only <gtk/gtk.h> can be included directly."
24 #endif
25
26 #include <gtk/gtktypes.h>cxx . . $ `<file>/gtk/gtktypes.h`/
27
28 G_BEGIN_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:947:9`!
29
30 #define GTK_TYPE_SHORTCUT_ACTIONcxx . . $ `gtk/gtkshortcutaction.h:30:9`! (gtk_shortcut_action_get_type ())
31
32 /**
33 * GtkShortcutFunc:
34 * @widget: The widget passed to the activation
35 * @args: (nullable): The arguments passed to the activation
36 * @user_data: (nullable): The user data provided when activating the action
37 *
38 * Type for shortcuts based on user callbacks.
39 *
40 * Returns: true if the action was successful
41 */
42 typedef gbooleancxx . . $ gboolean# (* GtkShortcutFunccxx . . $ GtkShortcutFunc#) (GtkWidgetcxx . . $ GtkWidget# *widget,
43 GVariantcxx . . $ GVariant# *args,
44 gpointercxx . . $ gpointer# user_data);
45
46 /**
47 * GtkShortcutActionFlags:
48 * @GTK_SHORTCUT_ACTION_EXCLUSIVE: The action is the only
49 * action that can be activated. If this flag is not set,
50 * a future activation may select a different action.
51 *
52 * Flags that can be passed to action activation.
53 *
54 * More flags may be added in the future.
55 **/
56 typedef enumcxx . . $ $anonymous_type_45268b73a820d03d_0# {
57 GTK_SHORTCUT_ACTION_EXCLUSIVEcxx . . $ GTK_SHORTCUT_ACTION_EXCLUSIVE. = 1 << 0
58 } GtkShortcutActionFlagscxx . . $ GtkShortcutActionFlags#;
59
60 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
61 GDK_DECLARE_INTERNAL_TYPEcxx . . $ GtkShortcutAction_slistautoptr# (GtkShortcutAction, gtk_shortcut_action, GTK, SHORTCUT_ACTION, GObject)
62
63 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
64 char * gtk_shortcut_action_to_stringcxx . . $ gtk_shortcut_action_to_string(3b4df073fabca196). (GtkShortcutActioncxx . . $ GtkShortcutAction# *self);
65 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
66 GtkShortcutActioncxx . . $ GtkShortcutAction# * gtk_shortcut_action_parse_stringcxx . . $ gtk_shortcut_action_parse_string(be3e6c423fa27f0b). (const char * string);
67
68 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
69 void gtk_shortcut_action_printcxx . . $ gtk_shortcut_action_print(cf1065627b85ae56). (GtkShortcutActioncxx . . $ GtkShortcutAction# *self,
70 GStringcxx . . $ GString# *string);
71 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
72 gbooleancxx . . $ gboolean# gtk_shortcut_action_activatecxx . . $ gtk_shortcut_action_activate(335bae4dd88e800a). (GtkShortcutActioncxx . . $ GtkShortcutAction# *self,
73 GtkShortcutActionFlagscxx . . $ GtkShortcutActionFlags# flags,
74 GtkWidgetcxx . . $ GtkWidget# *widget,
75 GVariantcxx . . $ GVariant# *args);
76
77 #define GTK_TYPE_NOTHING_ACTIONcxx . . $ `gtk/gtkshortcutaction.h:77:9`! (gtk_nothing_action_get_type())
78
79 /**
80 * GtkNothingAction:
81 *
82 * Does nothing.
83 */
84 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
85 GDK_DECLARE_INTERNAL_TYPEcxx . . $ glib_autoptr_clear_GtkShortcutAction(a8b71d7dff3399d9). (GtkNothingAction, gtk_nothing_action, GTK, NOTHING_ACTION, GtkShortcutAction)
86
87 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
88 GtkShortcutActioncxx . . $ GtkShortcutAction# * gtk_nothing_action_getcxx . . $ gtk_nothing_action_get(4c125ab8622b3a5b). (void);
89
90 #define GTK_TYPE_CALLBACK_ACTIONcxx . . $ `gtk/gtkshortcutaction.h:90:9`! (gtk_callback_action_get_type())
91
92 /**
93 * GtkCallbackAction:
94 *
95 * Invokes a callback.
96 */
97 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
98 GDK_DECLARE_INTERNAL_TYPEcxx . . $ GTypeClass# (GtkCallbackAction, gtk_callback_action, GTK, CALLBACK_ACTION, GtkShortcutAction)
99
100 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
101 GtkShortcutActioncxx . . $ GtkShortcutAction# * gtk_callback_action_newcxx . . $ gtk_callback_action_new(9709b18578cd8209). (GtkShortcutFunccxx . . $ GtkShortcutFunc# callback,
102 gpointercxx . . $ gpointer# data,
103 GDestroyNotifycxx . . $ GDestroyNotify# destroy);
104
105 #define GTK_TYPE_MNEMONIC_ACTIONcxx . . $ `gtk/gtkshortcutaction.h:105:9`! (gtk_mnemonic_action_get_type())
106
107 /**
108 * GtkMnemonicAction:
109 *
110 * Activates a widget with a mnemonic.
111 *
112 * This means that [[email protected]_activate] is called.
113 */
114 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
115 GDK_DECLARE_INTERNAL_TYPEcxx . . $ _GTypeClass#g_type. (GtkMnemonicAction, gtk_mnemonic_action, GTK, MNEMONIC_ACTION, GtkShortcutAction)
116
117 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
118 GtkShortcutActioncxx . . $ GtkShortcutAction# * gtk_mnemonic_action_getcxx . . $ gtk_mnemonic_action_get(4c125ab8622b3a5b). (void);
119
120 #define GTK_TYPE_ACTIVATE_ACTIONcxx . . $ `gtk/gtkshortcutaction.h:120:9`! (gtk_activate_action_get_type())
121
122 /**
123 * GtkActivateAction:
124 *
125 * Activates a widget.
126 *
127 * Widgets are activated by calling [[email protected]].
128 */
129 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
130 GDK_DECLARE_INTERNAL_TYPEcxx . . $ GTypeInstance# (GtkActivateAction, gtk_activate_action, GTK, ACTIVATE_ACTION, GtkShortcutAction)
131
132 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
133 GtkShortcutActioncxx . . $ GtkShortcutAction# * gtk_activate_action_getcxx . . $ gtk_activate_action_get(4c125ab8622b3a5b). (void);
134
135 #define GTK_TYPE_SIGNAL_ACTIONcxx . . $ `gtk/gtkshortcutaction.h:135:9`! (gtk_signal_action_get_type())
136
137 /**
138 * GtkSignalAction:
139 *
140 * Emits a signal on a widget.
141 *
142 * Signals that are used in this way are referred to as keybinding signals,
143 * and they are expected to be defined with the `G_SIGNAL_ACTION` flag.
144 */
145 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
146 GDK_DECLARE_INTERNAL_TYPEcxx . . $ GtkSignalAction_slistautoptr# (GtkSignalAction, gtk_signal_action, GTK, SIGNAL_ACTION, GtkShortcutAction)
147
148 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
149 GtkShortcutActioncxx . . $ GtkShortcutAction# * gtk_signal_action_newcxx . . $ gtk_signal_action_new(be3e6c423fa27f0b). (const char *signal_name);
150 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
151 const char * gtk_signal_action_get_signal_namecxx . . $ gtk_signal_action_get_signal_name(71ab5484c949ceab). (GtkSignalActioncxx . . $ GtkSignalAction# *self);
152
153 #define GTK_TYPE_NAMED_ACTIONcxx . . $ `gtk/gtkshortcutaction.h:153:9`! (gtk_named_action_get_type())
154
155 /**
156 * GtkNamedAction:
157 *
158 * Activates a named action.
159 *
160 * See [[email protected]_action] and
161 * [[email protected]_action_group] for ways
162 * to associate named actions with widgets.
163 */
164 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
165 GDK_DECLARE_INTERNAL_TYPEcxx . . $ GtkNamedAction_slistautoptr# (GtkNamedAction, gtk_named_action, GTK, NAMED_ACTION, GtkShortcutAction)
166
167 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
168 GtkShortcutActioncxx . . $ GtkShortcutAction# * gtk_named_action_newcxx . . $ gtk_named_action_new(be3e6c423fa27f0b). (const char *name);
169 GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`!
170 const char * gtk_named_action_get_action_namecxx . . $ gtk_named_action_get_action_name(f753eed174c5f10c). (GtkNamedActioncxx . . $ GtkNamedAction# *self);
171
172 G_END_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:948:9`!
173