]> Pileus Git - ~andy/gtk/blob - gtk/gtkaccelmapprivate.h
Introduce gtkaccelmapprivate.h
[~andy/gtk] / gtk / gtkaccelmapprivate.h
1 /* GTK - The GIMP Toolkit
2  * Copyright (C) 1998, 2001 Tim Janik
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 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, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  */
19
20 #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
21 #error "Only <gtk/gtk.h> can be included directly."
22 #endif
23
24 #ifndef __GTK_ACCEL_MAP_PRIVATE_H__
25 #define __GTK_ACCEL_MAP_PRIVATE_H__
26
27
28 #include <gtk/gtkaccelmap.h>
29
30 G_BEGIN_DECLS
31
32 void            _gtk_accel_map_init         (void);
33
34 void            _gtk_accel_map_add_group    (const gchar   *accel_path,
35                                              GtkAccelGroup *accel_group);
36 void            _gtk_accel_map_remove_group (const gchar   *accel_path,
37                                              GtkAccelGroup *accel_group);
38 gboolean        _gtk_accel_path_is_valid    (const gchar   *accel_path);
39
40 gchar         * _gtk_accel_path_for_action  (const gchar   *action_name,
41                                              GVariant      *parameter);
42
43 G_END_DECLS
44
45 #endif /* __GTK_ACCEL_MAP_PRIVATE_H__ */