20 #ifndef __GTK_ACCEL_MAP_H__
21 #define __GTK_ACCEL_MAP_H__
24 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
25 #error "Only <gtk/gtk.h> can be included directly."
33 #define GTK_TYPE_ACCEL_MAP (gtk_accel_map_get_type ())
34 #define GTK_ACCEL_MAP(accel_map) (G_TYPE_CHECK_INSTANCE_CAST ((accel_map), GTK_TYPE_ACCEL_MAP, GtkAccelMap))
35 #define GTK_ACCEL_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACCEL_MAP, GtkAccelMapClass))
36 #define GTK_IS_ACCEL_MAP(accel_map) (G_TYPE_CHECK_INSTANCE_TYPE ((accel_map), GTK_TYPE_ACCEL_MAP))
37 #define GTK_IS_ACCEL_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACCEL_MAP))
38 #define GTK_ACCEL_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ACCEL_MAP, GtkAccelMapClass))
45 const gchar *accel_path,
55 #define gtk_accel_map_load gtk_accel_map_load_utf8
56 #define gtk_accel_map_save gtk_accel_map_save_utf8
gboolean gtk_accel_map_change_entry(const gchar *accel_path, guint accel_key, GdkModifierType accel_mods, gboolean replace)
gboolean _gtk_accel_path_is_valid(const gchar *accel_path)
void gtk_accel_map_load_scanner(GScanner *scanner)
void gtk_accel_map_save_fd(gint fd)
void gtk_accel_map_load_fd(gint fd)
void gtk_accel_map_add_entry(const gchar *accel_path, guint accel_key, GdkModifierType accel_mods)
GtkAccelMap * gtk_accel_map_get(void)
void gtk_accel_map_foreach_unfiltered(gpointer data, GtkAccelMapForeach foreach_func)
void gtk_accel_map_lock_path(const gchar *accel_path)
void _gtk_accel_map_add_group(const gchar *accel_path, GtkAccelGroup *accel_group)
gboolean gtk_accel_map_lookup_entry(const gchar *accel_path, GtkAccelKey *key)
struct _GtkAccelMap GtkAccelMap
void gtk_accel_map_foreach(gpointer data, GtkAccelMapForeach foreach_func)
void _gtk_accel_map_remove_group(const gchar *accel_path, GtkAccelGroup *accel_group)
GType gtk_accel_map_get_type(void) G_GNUC_CONST
void gtk_accel_map_save(const gchar *file_name)
struct _GtkAccelMapClass GtkAccelMapClass
void(* GtkAccelMapForeach)(gpointer data, const gchar *accel_path, guint accel_key, GdkModifierType accel_mods, gboolean changed)
void _gtk_accel_map_init(void)
void gtk_accel_map_load(const gchar *file_name)
void gtk_accel_map_add_filter(const gchar *filter_pattern)
void gtk_accel_map_unlock_path(const gchar *accel_path)