Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include <gtk/gtktypes.h>
Go to the source code of this file.
Macros | |
#define | GTK_TYPE_SHORTCUT_ACTION (gtk_shortcut_action_get_type ()) |
#define | GTK_TYPE_NOTHING_ACTION (gtk_nothing_action_get_type()) |
#define | GTK_TYPE_CALLBACK_ACTION (gtk_callback_action_get_type()) |
#define | GTK_TYPE_MNEMONIC_ACTION (gtk_mnemonic_action_get_type()) |
#define | GTK_TYPE_ACTIVATE_ACTION (gtk_activate_action_get_type()) |
#define | GTK_TYPE_SIGNAL_ACTION (gtk_signal_action_get_type()) |
#define | GTK_TYPE_NAMED_ACTION (gtk_named_action_get_type()) |
Typedefs | |
typedef gboolean(* | GtkShortcutFunc) (GtkWidget *widget, GVariant *args, gpointer user_data) |
Enumerations | |
enum | GtkShortcutActionFlags { GTK_SHORTCUT_ACTION_EXCLUSIVE = 1 << 0 } |
#define GTK_TYPE_ACTIVATE_ACTION (gtk_activate_action_get_type()) |
Definition at line 118 of file gtkshortcutaction.h.
#define GTK_TYPE_CALLBACK_ACTION (gtk_callback_action_get_type()) |
Definition at line 90 of file gtkshortcutaction.h.
#define GTK_TYPE_MNEMONIC_ACTION (gtk_mnemonic_action_get_type()) |
Definition at line 105 of file gtkshortcutaction.h.
#define GTK_TYPE_NAMED_ACTION (gtk_named_action_get_type()) |
Definition at line 149 of file gtkshortcutaction.h.
#define GTK_TYPE_NOTHING_ACTION (gtk_nothing_action_get_type()) |
Definition at line 77 of file gtkshortcutaction.h.
#define GTK_TYPE_SHORTCUT_ACTION (gtk_shortcut_action_get_type ()) |
Definition at line 30 of file gtkshortcutaction.h.
#define GTK_TYPE_SIGNAL_ACTION (gtk_signal_action_get_type()) |
Definition at line 131 of file gtkshortcutaction.h.
GtkShortcutFunc: @widget: The widget passed to the activation @args: (nullable): The arguments passed to the activation @user_data: (nullable): The user data provided when activating the action
Prototype for shortcuts based on user callbacks.
Returns: TRUE if the action was successful.
Definition at line 42 of file gtkshortcutaction.h.
GtkShortcutActionFlags: @GTK_SHORTCUT_ACTION_EXCLUSIVE: The action is the only action that can be activated. If this flag is not set, a future activation may select a different action.
List of flags that can be passed to action activation.
More flags may be added in the future.
Enumerator | |
---|---|
GTK_SHORTCUT_ACTION_EXCLUSIVE |
Definition at line 56 of file gtkshortcutaction.h.
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL GtkShortcutAction * gtk_activate_action_get | ( | void | ) |
GtkActivateAction:
A GtkShortcutAction
that calls gtk_widget_activate().
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL GtkShortcutAction * gtk_callback_action_new | ( | GtkShortcutFunc | callback, |
gpointer | data, | ||
GDestroyNotify | destroy ) |
GtkCallbackAction:
A GtkShortcutAction
that invokes a callback.
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL GtkShortcutAction * gtk_mnemonic_action_get | ( | void | ) |
GtkMnemonicAction:
A GtkShortcutAction
that calls gtk_widget_mnemonic_activate().
GDK_AVAILABLE_IN_ALL const char * gtk_named_action_get_action_name | ( | GtkNamedAction * | self | ) |
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL GtkShortcutAction * gtk_named_action_new | ( | const char * | name | ) |
GtkNamedAction:
A GtkShortcutAction
that activates an action by name.
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL GtkShortcutAction * gtk_nothing_action_get | ( | void | ) |
GtkNothingAction:
A GtkShortcutAction
that does nothing.
GDK_AVAILABLE_IN_ALL gboolean gtk_shortcut_action_activate | ( | GtkShortcutAction * | self, |
GtkShortcutActionFlags | flags, | ||
GtkWidget * | widget, | ||
GVariant * | args ) |
GDK_AVAILABLE_IN_ALL GtkShortcutAction * gtk_shortcut_action_parse_string | ( | const char * | string | ) |
GDK_AVAILABLE_IN_ALL void gtk_shortcut_action_print | ( | GtkShortcutAction * | self, |
GString * | string ) |
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL char * gtk_shortcut_action_to_string | ( | GtkShortcutAction * | self | ) |
GDK_AVAILABLE_IN_ALL const char * gtk_signal_action_get_signal_name | ( | GtkSignalAction * | self | ) |
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL GtkShortcutAction * gtk_signal_action_new | ( | const char * | signal_name | ) |
GtkSignalAction:
A GtkShortcut
Action that emits a signal.
Signals that are used in this way are referred to as keybinding signals, and they are expected to be defined with the G_SIGNAL_ACTION flag.