Back to index

im-sdk  12.3.91
imswitcher.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2000 Red Hat Software
00003  * Copyright (C) 2003 Motonobu Ichimura
00004  * Copyright 2003 Sun Microsystems Inc.
00005  *
00006  * This is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2 of the License, or (at your option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the
00018  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00019  * Boston, MA 02111-1307, USA.
00020  *
00021  * Authors: Hidetoshi Tajima <hidetoshi.tajima@sun.com>
00022  */
00023 
00024 #ifndef __IM_SWITCHER_H
00025 #define __IM_SWITCHER_H
00026 
00027 /* exported from imswitcher.c to gtkimcontextiiim.c */
00028 extern gboolean im_info_switcher_active (GtkIIIMInfo *info);
00029 extern gboolean      im_info_switcher_new (GtkIIIMInfo *info);
00030 extern void   im_info_switcher_shutdown (GtkIIIMInfo *info);
00031 
00032 extern void im_context_switcher_new (GtkIMContextIIIM *context_iiim);
00033 extern void im_context_switcher_finalize (GtkIMContextIIIM *context_iiim);
00034 
00035 extern void im_context_switcher_set_switcher_list (GtkIMContextIIIM *context_iiim,
00036                                              gchar *switcher_list);
00037 extern void im_context_switcher_set_language_list (GtkIMContextIIIM *context_iiim,
00038                                              IIIMCF_language *lang_list,
00039                                              int n_lang);
00040 extern void im_context_switcher_set_status_text (GtkIMContextIIIM *context_iiim,
00041                                            gchar *utf8);
00042 extern void im_context_switcher_set_focus (GtkIMContextIIIM *context_iiim);
00043 extern void im_context_switcher_set_input_language (GtkIMContextIIIM *context_iiim,
00044                                               gchar *input_lang);
00045 extern void im_context_switcher_set_language_engine_list (GtkIMContextIIIM *context_iiim,
00046                                                    gchar *le_list);
00047 extern void im_context_switcher_set_conversion_mode (GtkIMContextIIIM *context_iiim);
00048 extern char *im_context_switcher_get_hotkey_with_atom (GtkIMContextIIIM *);
00049 extern char *im_context_switcher_get_hotkey (GtkIMContextIIIM *);
00050 extern void im_context_switcher_set_hotkey (GtkIMContextIIIM *, char *);
00051 extern char *im_context_switcher_get_hotkey_with_type (char *, char *);
00052 extern void im_context_switcher_change_hotkey_with_type (GtkIMContextIIIM *, char *, char *);
00053 
00054 
00055 #endif
00056 
00057 /* Local Variables: */
00058 /* c-file-style: "gnu" */
00059 /* End: */