Back to index

im-sdk  12.3.91
Functions | Variables
imiiim.c File Reference
#include <config.h>
#include "gtk/gtkimmodule.h"
#include "gtkimcontextiiim.h"
#include <string.h>

Go to the source code of this file.

Functions

void im_module_init (GTypeModule *type_module)
void im_module_exit (void)
void im_module_list (const GtkIMContextInfo ***contexts, int *n_contexts)
GtkIMContext * im_module_create (const gchar *context_id)

Variables

static const GtkIMContextInfo iiim_info
static const GtkIMContextInfo * info_list []

Function Documentation

GtkIMContext* im_module_create ( const gchar *  context_id)

Definition at line 61 of file imiiim.c.

{
  if (strcmp (context_id, "iiim") == 0)
    return im_context_iiim_new ();
  else
    return NULL;
}

Here is the call graph for this function:

void im_module_exit ( void  )

Definition at line 47 of file imiiim.c.

Here is the call graph for this function:

void im_module_init ( GTypeModule *  type_module)

Definition at line 41 of file imiiim.c.

{
  im_context_iiim_register_type (type_module);
}

Here is the call graph for this function:

void im_module_list ( const GtkIMContextInfo ***  contexts,
int *  n_contexts 
)

Definition at line 53 of file imiiim.c.

{
  *contexts = info_list;
  *n_contexts = G_N_ELEMENTS (info_list);
}

Variable Documentation

const GtkIMContextInfo iiim_info [static]
Initial value:
 { 
  "iiim",                       
  N_("Internet/Intranet Input Method"), 
  GETTEXT_PACKAGE,             
  IIIMGCFLOCALEDIR,            
  ""                            
}

Definition at line 28 of file imiiim.c.

const GtkIMContextInfo* info_list[] [static]
Initial value:
 {
  &iiim_info
}

Definition at line 36 of file imiiim.c.