Ardour  9.0-pre0-384-ga76afae0e9
gtkimmodule.h
Go to the documentation of this file.
1 /* GTK - The GIMP Toolkit
2  * Copyright (C) 2000 Red Hat Software
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 #ifndef __GTK_IM_MODULE_H__
21 #define __GTK_IM_MODULE_H__
22 
23 #include <gtk/gtk.h>
24 
25 G_BEGIN_DECLS
26 
27 typedef struct _GtkIMContextInfo GtkIMContextInfo;
28 
30 {
31  const gchar *context_id;
32  const gchar *context_name;
33  const gchar *domain;
34  const gchar *domain_dirname;
35  const gchar *default_locales;
36 };
37 
38 /* Functions for use within GTK+
39  */
40 void _gtk_im_module_list (const GtkIMContextInfo ***contexts,
41  guint *n_contexts);
42 GtkIMContext * _gtk_im_module_create (const gchar *context_id);
43 const gchar * _gtk_im_module_get_default_context_id (GdkWindow *client_window);
44 
45 /* The following entry points are exported by each input method module
46  */
47 
48 /*
49 void im_module_list (const GtkIMContextInfo ***contexts,
50  guint *n_contexts);
51 void im_module_init (GtkModule *module);
52 void im_module_exit (void);
53 GtkIMContext *im_module_create (const gchar *context_id);
54 */
55 
56 G_END_DECLS
57 
58 #endif /* __GTK_IM_MODULE_H__ */
void _gtk_im_module_list(const GtkIMContextInfo ***contexts, guint *n_contexts)
const gchar * _gtk_im_module_get_default_context_id(GdkWindow *client_window)
typedefG_BEGIN_DECLS struct _GtkIMContextInfo GtkIMContextInfo
Definition: gtkimmodule.h:27
GtkIMContext * _gtk_im_module_create(const gchar *context_id)
const gchar * domain
Definition: gtkimmodule.h:33
const gchar * domain_dirname
Definition: gtkimmodule.h:34
const gchar * context_id
Definition: gtkimmodule.h:31
const gchar * context_name
Definition: gtkimmodule.h:32
const gchar * default_locales
Definition: gtkimmodule.h:35