27 #ifndef __GTK_ACCEL_GROUP_H__
28 #define __GTK_ACCEL_GROUP_H__
31 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
32 #error "Only <gtk/gtk.h> can be included directly."
42 #define GTK_TYPE_ACCEL_GROUP (gtk_accel_group_get_type ())
43 #define GTK_ACCEL_GROUP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_ACCEL_GROUP, GtkAccelGroup))
44 #define GTK_ACCEL_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACCEL_GROUP, GtkAccelGroupClass))
45 #define GTK_IS_ACCEL_GROUP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_ACCEL_GROUP))
46 #define GTK_IS_ACCEL_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACCEL_GROUP))
47 #define GTK_ACCEL_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ACCEL_GROUP, GtkAccelGroupClass))
65 GObject *acceleratable,
104 GClosure *accel_closure);
135 const gchar *accel_path,
144 GObject *acceleratable,
168 guint *accelerator_key,
185 GQuark accel_path_quark);
195 #ifndef GTK_DISABLE_DEPRECATED
203 #define gtk_accel_group_ref g_object_ref
210 #define gtk_accel_group_unref g_object_unref
void gtk_accel_group_unlock(GtkAccelGroup *accel_group)
void _gtk_accel_group_detach(GtkAccelGroup *accel_group, GObject *object)
void gtk_accel_group_lock(GtkAccelGroup *accel_group)
gchar * gtk_accelerator_get_label(guint accelerator_key, GdkModifierType accelerator_mods)
gboolean gtk_accel_group_activate(GtkAccelGroup *accel_group, GQuark accel_quark, GObject *acceleratable, guint accel_key, GdkModifierType accel_mods)
gboolean gtk_accel_group_disconnect(GtkAccelGroup *accel_group, GClosure *closure)
gboolean gtk_accel_groups_activate(GObject *object, guint accel_key, GdkModifierType accel_mods)
GdkModifierType gtk_accel_group_get_modifier_mask(GtkAccelGroup *accel_group)
gboolean(* GtkAccelGroupFindFunc)(GtkAccelKey *key, GClosure *closure, gpointer data)
void gtk_accelerator_set_default_mod_mask(GdkModifierType default_mod_mask)
void _gtk_accel_group_attach(GtkAccelGroup *accel_group, GObject *object)
void gtk_accel_group_connect(GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods, GtkAccelFlags accel_flags, GClosure *closure)
guint gtk_accelerator_get_default_mod_mask(void)
void gtk_accelerator_parse(const gchar *accelerator, guint *accelerator_key, GdkModifierType *accelerator_mods)
gboolean gtk_accel_group_disconnect_key(GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods)
gboolean gtk_accelerator_valid(guint keyval, GdkModifierType modifiers) G_GNUC_CONST
GtkAccelGroup * gtk_accel_group_new(void)
GSList * gtk_accel_groups_from_object(GObject *object)
GtkAccelGroupEntry * gtk_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)
gboolean(* GtkAccelGroupActivate)(GtkAccelGroup *accel_group, GObject *acceleratable, guint keyval, GdkModifierType modifier)
void gtk_accel_group_connect_by_path(GtkAccelGroup *accel_group, const gchar *accel_path, GClosure *closure)
GType gtk_accel_group_get_type(void) G_GNUC_CONST
gchar * gtk_accelerator_name(guint accelerator_key, GdkModifierType accelerator_mods)
GtkAccelKey * gtk_accel_group_find(GtkAccelGroup *accel_group, GtkAccelGroupFindFunc find_func, gpointer data)
gboolean gtk_accel_group_get_is_locked(GtkAccelGroup *accel_group)
GtkAccelGroup * gtk_accel_group_from_accel_closure(GClosure *closure)
void(* _gtk_reserved4)(void)
void(* _gtk_reserved3)(void)
void(* _gtk_reserved1)(void)
void(* _gtk_reserved2)(void)
void(* accel_changed)(GtkAccelGroup *accel_group, guint keyval, GdkModifierType modifier, GClosure *accel_closure)
GObjectClass parent_class
GtkAccelGroupEntry * GSEAL(priv_accels)
GdkModifierType GSEAL(modifier_mask)
GSList * GSEAL(acceleratables)
GdkModifierType accel_mods