#include <string.h>
#include <gtk/gtkimmodule.h>
#include "ergtk-im-context-erkeyb.h"
#include "logging.h"
Go to the source code of this file.
Defines | |
#define | IM_CONTEXT "ergtk-im-erkeyb" |
Functions | |
void | im_module_list (const GtkIMContextInfo ***contexts, guint *n_contexts) |
void | im_module_init (GTypeModule *module) |
void | im_module_exit (void) |
GtkIMContext * | im_module_create (const gchar *context_id) |
Variables | |
static const GtkIMContextInfo | im_info |
static const GtkIMContextInfo * | info_list [] = { &im_info } |
#define IM_CONTEXT "ergtk-im-erkeyb" |
Copyright (C) 2009 iRex Technologies B.V. All rights reserved.
Definition at line 47 of file imerkeyb.c.
Referenced by im_module_create().
GtkIMContext* im_module_create | ( | const gchar * | context_id | ) |
Definition at line 82 of file imerkeyb.c.
References DBG_ENTRY, DBG_EXIT, ergtk_im_context_erkeyb_new(), ERR, and IM_CONTEXT.
00083 { 00084 DBG_ENTRY; 00085 if (strcmp (context_id, IM_CONTEXT) == 0) { 00086 DBG_EXIT; 00087 return ergtk_im_context_erkeyb_new(); 00088 } else { 00089 ERR("No new im context created!\n"); 00090 DBG_EXIT; 00091 return NULL; 00092 } 00093 }
void im_module_exit | ( | void | ) |
void im_module_init | ( | GTypeModule * | module | ) |
Definition at line 69 of file imerkeyb.c.
References DBG_ENTRY, DBG_EXIT, and ergtk_im_context_erkeyb_register_type().
00070 { 00071 DBG_ENTRY; 00072 ergtk_im_context_erkeyb_register_type (module); 00073 DBG_EXIT; 00074 }
void im_module_list | ( | const GtkIMContextInfo *** | contexts, | |
guint * | n_contexts | |||
) |
Definition at line 63 of file imerkeyb.c.
References info_list.
const GtkIMContextInfo im_info [static] |
{ IM_CONTEXT, "Virtual Keyboard", "", "", "*" }
Definition at line 53 of file imerkeyb.c.
Definition at line 57 of file imerkeyb.c.
Referenced by im_module_list().