1
{ Pointers to basic pascal types, inserted by h2pas conversion program.}
12
{ GTK - The GIMP Toolkit
13
Copyright (C) 2000 Red Hat Software
15
This library is free software; you can redistribute it and/or
16
modify it under the terms of the GNU Lesser General Public
17
License as published by the Free Software Foundation; either
18
version 2 of the License, or (at your option) any later version.
20
This library is distributed in the hope that it will be useful,
21
but WITHOUT ANY WARRANTY; without even the implied warranty of
22
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23
Lesser General Public License for more details.
25
You should have received a copy of the GNU Lesser General Public
26
License along with this library; if not, write to the
27
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
28
Boston, MA 02111-1307, USA.
30
{$ifndef __GTK_IM_MODULE_H__}
31
{$define __GTK_IM_MODULE_H__}
32
{ C++ extern C conditionnal removed }
34
{$include gtkimcontext.inc}
41
PGtkIMContextInfo = ^TGtkIMContextInfo;
42
TGtkIMContextInfo = record
44
context_name : Pgchar;
46
domain_dirname : Pgchar;
47
default_locales : Pgchar;
50
{ Functions for use within GTK+
54
procedure _gtk_im_module_list(contexts:PPPGtkIMContextInfo; n_contexts:Pguint); cdecl; external gtklib;
56
function _gtk_im_module_create(context_id:Pgchar):PGtkIMContext; cdecl; external gtklib;
59
function _gtk_im_module_get_default_context_id(lang:Pgchar):Pgchar; cdecl; external gtklib;
60
{ The following entry points are exported by each input method module
63
void im_module_list (const GtkIMContextInfo contexts,
65
void im_module_init (GtkModule module);
66
void im_module_exit (void);
67
GtkIMContext im_module_create (const gchar context_id);
69
{ C++ end of extern C conditionnal removed }
72
{ __GTK_IM_MODULE_H__ }