Ardour  9.0-pre0-582-g084a23a80d
gtkaccelgroup.h File Reference
#include <gdk/gdk.h>
#include <gtk/gtkenums.h>
Include dependency graph for gtkaccelgroup.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GtkAccelGroup
 
struct  _GtkAccelGroupClass
 
struct  _GtkAccelKey
 
struct  _GtkAccelGroupEntry
 

Macros

#define GTK_TYPE_ACCEL_GROUP   (gtk_accel_group_get_type ())
 
#define GTK_ACCEL_GROUP(object)   (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_ACCEL_GROUP, GtkAccelGroup))
 
#define GTK_ACCEL_GROUP_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACCEL_GROUP, GtkAccelGroupClass))
 
#define GTK_IS_ACCEL_GROUP(object)   (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_ACCEL_GROUP))
 
#define GTK_IS_ACCEL_GROUP_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACCEL_GROUP))
 
#define GTK_ACCEL_GROUP_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ACCEL_GROUP, GtkAccelGroupClass))
 
#define gtk_accel_group_ref   g_object_ref
 
#define gtk_accel_group_unref   g_object_unref
 

Typedefs

typedef struct _GtkAccelGroup GtkAccelGroup
 
typedef struct _GtkAccelGroupClass GtkAccelGroupClass
 
typedef struct _GtkAccelKey GtkAccelKey
 
typedef struct _GtkAccelGroupEntry GtkAccelGroupEntry
 
typedef gboolean(* GtkAccelGroupActivate) (GtkAccelGroup *accel_group, GObject *acceleratable, guint keyval, GdkModifierType modifier)
 
typedef gboolean(* GtkAccelGroupFindFunc) (GtkAccelKey *key, GClosure *closure, gpointer data)
 

Enumerations

enum  GtkAccelFlags { GTK_ACCEL_VISIBLE = 1 << 0 , GTK_ACCEL_LOCKED = 1 << 1 , GTK_ACCEL_MASK = 0x07 }
 

Functions

GType gtk_accel_group_get_type (void) G_GNUC_CONST
 
GtkAccelGroupgtk_accel_group_new (void)
 
gboolean gtk_accel_group_get_is_locked (GtkAccelGroup *accel_group)
 
GdkModifierType gtk_accel_group_get_modifier_mask (GtkAccelGroup *accel_group)
 
void gtk_accel_group_lock (GtkAccelGroup *accel_group)
 
void gtk_accel_group_unlock (GtkAccelGroup *accel_group)
 
void gtk_accel_group_connect (GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods, GtkAccelFlags accel_flags, GClosure *closure)
 
void gtk_accel_group_connect_by_path (GtkAccelGroup *accel_group, const gchar *accel_path, GClosure *closure)
 
gboolean gtk_accel_group_disconnect (GtkAccelGroup *accel_group, GClosure *closure)
 
gboolean gtk_accel_group_disconnect_key (GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods)
 
gboolean gtk_accel_group_activate (GtkAccelGroup *accel_group, GQuark accel_quark, GObject *acceleratable, guint accel_key, GdkModifierType accel_mods)
 
void _gtk_accel_group_attach (GtkAccelGroup *accel_group, GObject *object)
 
void _gtk_accel_group_detach (GtkAccelGroup *accel_group, GObject *object)
 
gboolean gtk_accel_groups_activate (GObject *object, guint accel_key, GdkModifierType accel_mods)
 
GSList * gtk_accel_groups_from_object (GObject *object)
 
GtkAccelKeygtk_accel_group_find (GtkAccelGroup *accel_group, GtkAccelGroupFindFunc find_func, gpointer data)
 
GtkAccelGroupgtk_accel_group_from_accel_closure (GClosure *closure)
 
gboolean gtk_accelerator_valid (guint keyval, GdkModifierType modifiers) G_GNUC_CONST
 
void gtk_accelerator_parse (const gchar *accelerator, guint *accelerator_key, GdkModifierType *accelerator_mods)
 
gchar * gtk_accelerator_name (guint accelerator_key, GdkModifierType accelerator_mods)
 
gchar * gtk_accelerator_get_label (guint accelerator_key, GdkModifierType accelerator_mods)
 
void gtk_accelerator_set_default_mod_mask (GdkModifierType default_mod_mask)
 
guint gtk_accelerator_get_default_mod_mask (void)
 
GtkAccelGroupEntrygtk_accel_group_query (GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods, guint *n_entries)
 
void _gtk_accel_group_reconnect (GtkAccelGroup *accel_group, GQuark accel_path_quark)
 

Macro Definition Documentation

◆ GTK_ACCEL_GROUP

#define GTK_ACCEL_GROUP (   object)    (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_ACCEL_GROUP, GtkAccelGroup))

Definition at line 43 of file gtkaccelgroup.h.

◆ GTK_ACCEL_GROUP_CLASS

#define GTK_ACCEL_GROUP_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACCEL_GROUP, GtkAccelGroupClass))

Definition at line 44 of file gtkaccelgroup.h.

◆ GTK_ACCEL_GROUP_GET_CLASS

#define GTK_ACCEL_GROUP_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ACCEL_GROUP, GtkAccelGroupClass))

Definition at line 47 of file gtkaccelgroup.h.

◆ gtk_accel_group_ref

#define gtk_accel_group_ref   g_object_ref

gtk_accel_group_ref:

Deprecated equivalent of g_object_ref().

Returns: the accel group that was passed in

Definition at line 203 of file gtkaccelgroup.h.

◆ gtk_accel_group_unref

#define gtk_accel_group_unref   g_object_unref

gtk_accel_group_unref:

Deprecated equivalent of g_object_unref().

Definition at line 210 of file gtkaccelgroup.h.

◆ GTK_IS_ACCEL_GROUP

#define GTK_IS_ACCEL_GROUP (   object)    (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_ACCEL_GROUP))

Definition at line 45 of file gtkaccelgroup.h.

◆ GTK_IS_ACCEL_GROUP_CLASS

#define GTK_IS_ACCEL_GROUP_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACCEL_GROUP))

Definition at line 46 of file gtkaccelgroup.h.

◆ GTK_TYPE_ACCEL_GROUP

#define GTK_TYPE_ACCEL_GROUP   (gtk_accel_group_get_type ())

Definition at line 42 of file gtkaccelgroup.h.

Typedef Documentation

◆ GtkAccelGroup

typedef struct _GtkAccelGroup GtkAccelGroup

Definition at line 38 of file gtkaccelgroup.h.

◆ GtkAccelGroupActivate

typedef gboolean(* GtkAccelGroupActivate) (GtkAccelGroup *accel_group, GObject *acceleratable, guint keyval, GdkModifierType modifier)

Definition at line 64 of file gtkaccelgroup.h.

◆ GtkAccelGroupClass

Definition at line 38 of file gtkaccelgroup.h.

◆ GtkAccelGroupEntry

Definition at line 38 of file gtkaccelgroup.h.

◆ GtkAccelGroupFindFunc

typedef gboolean(* GtkAccelGroupFindFunc) (GtkAccelKey *key, GClosure *closure, gpointer data)

GtkAccelGroupFindFunc:

Parameters
key
closure
data

Since: 2.2

Definition at line 77 of file gtkaccelgroup.h.

◆ GtkAccelKey

typedef struct _GtkAccelKey GtkAccelKey

Definition at line 38 of file gtkaccelgroup.h.

Enumeration Type Documentation

◆ GtkAccelFlags

Enumerator
GTK_ACCEL_VISIBLE 
GTK_ACCEL_LOCKED 
GTK_ACCEL_MASK 

Definition at line 51 of file gtkaccelgroup.h.

Function Documentation

◆ _gtk_accel_group_attach()

void _gtk_accel_group_attach ( GtkAccelGroup accel_group,
GObject *  object 
)

◆ _gtk_accel_group_detach()

void _gtk_accel_group_detach ( GtkAccelGroup accel_group,
GObject *  object 
)

◆ _gtk_accel_group_reconnect()

void _gtk_accel_group_reconnect ( GtkAccelGroup accel_group,
GQuark  accel_path_quark 
)

◆ gtk_accel_group_activate()

gboolean gtk_accel_group_activate ( GtkAccelGroup accel_group,
GQuark  accel_quark,
GObject *  acceleratable,
guint  accel_key,
GdkModifierType  accel_mods 
)

◆ gtk_accel_group_connect()

void gtk_accel_group_connect ( GtkAccelGroup accel_group,
guint  accel_key,
GdkModifierType  accel_mods,
GtkAccelFlags  accel_flags,
GClosure *  closure 
)

◆ gtk_accel_group_connect_by_path()

void gtk_accel_group_connect_by_path ( GtkAccelGroup accel_group,
const gchar *  accel_path,
GClosure *  closure 
)

◆ gtk_accel_group_disconnect()

gboolean gtk_accel_group_disconnect ( GtkAccelGroup accel_group,
GClosure *  closure 
)

◆ gtk_accel_group_disconnect_key()

gboolean gtk_accel_group_disconnect_key ( GtkAccelGroup accel_group,
guint  accel_key,
GdkModifierType  accel_mods 
)

◆ gtk_accel_group_find()

GtkAccelKey* gtk_accel_group_find ( GtkAccelGroup accel_group,
GtkAccelGroupFindFunc  find_func,
gpointer  data 
)

◆ gtk_accel_group_from_accel_closure()

GtkAccelGroup* gtk_accel_group_from_accel_closure ( GClosure *  closure)

◆ gtk_accel_group_get_is_locked()

gboolean gtk_accel_group_get_is_locked ( GtkAccelGroup accel_group)

◆ gtk_accel_group_get_modifier_mask()

GdkModifierType gtk_accel_group_get_modifier_mask ( GtkAccelGroup accel_group)

◆ gtk_accel_group_get_type()

GType gtk_accel_group_get_type ( void  )

◆ gtk_accel_group_lock()

void gtk_accel_group_lock ( GtkAccelGroup accel_group)

◆ gtk_accel_group_new()

GtkAccelGroup* gtk_accel_group_new ( void  )

◆ gtk_accel_group_query()

GtkAccelGroupEntry* gtk_accel_group_query ( GtkAccelGroup accel_group,
guint  accel_key,
GdkModifierType  accel_mods,
guint *  n_entries 
)

◆ gtk_accel_group_unlock()

void gtk_accel_group_unlock ( GtkAccelGroup accel_group)

◆ gtk_accel_groups_activate()

gboolean gtk_accel_groups_activate ( GObject *  object,
guint  accel_key,
GdkModifierType  accel_mods 
)

◆ gtk_accel_groups_from_object()

GSList* gtk_accel_groups_from_object ( GObject *  object)

◆ gtk_accelerator_get_default_mod_mask()

guint gtk_accelerator_get_default_mod_mask ( void  )

◆ gtk_accelerator_get_label()

gchar* gtk_accelerator_get_label ( guint  accelerator_key,
GdkModifierType  accelerator_mods 
)

◆ gtk_accelerator_name()

gchar* gtk_accelerator_name ( guint  accelerator_key,
GdkModifierType  accelerator_mods 
)

◆ gtk_accelerator_parse()

void gtk_accelerator_parse ( const gchar *  accelerator,
guint *  accelerator_key,
GdkModifierType accelerator_mods 
)

◆ gtk_accelerator_set_default_mod_mask()

void gtk_accelerator_set_default_mod_mask ( GdkModifierType  default_mod_mask)

◆ gtk_accelerator_valid()

gboolean gtk_accelerator_valid ( guint  keyval,
GdkModifierType  modifiers 
)