gtk.IMContextSimple.IMContextSimple Class Reference

Inheritance diagram for gtk.IMContextSimple.IMContextSimple:

gtk.IMContext.IMContext gobject.ObjectG.ObjectG List of all members.

Public Member Functions

GtkIMContextSimplegetIMContextSimpleStruct ()
 this (GtkIMContextSimple *gtkIMContextSimple)
 Sets our main struct and passes it to the parent class.
void addTable (ushort *data, int maxSeqLen, int nSeqs)
 Adds an additional table to search to the input context.

Static Public Member Functions

static IMContext newIMContextSimple ()
 Creates a new GtkIMContextSimple.

Protected Member Functions

void * getStruct ()
 the main Gtk struct as a void*

Protected Attributes

GtkIMContextSimplegtkIMContextSimple
 the main Gtk struct

Constructor & Destructor Documentation

gtk.IMContextSimple.IMContextSimple.this ( GtkIMContextSimple gtkIMContextSimple  ) 

Sets our main struct and passes it to the parent class.


Member Function Documentation

void gtk.IMContextSimple.IMContextSimple.addTable ( ushort *  data,
int  maxSeqLen,
int  nSeqs 
)

Adds an additional table to search to the input context.

Each row of the table consists of max_seq_len key symbols followed by two guint16 interpreted as the high and low words of a gunicode value. Tables are searched starting from the last added. The table must be sorted in dictionary order on the numeric value of the key symbol fields. (Values beyond the length of the sequence should be zero.) context_simple: A GtkIMContextSimple data: the table max_seq_len: Maximum length of a sequence in the table (cannot be greater than GTK_MAX_COMPOSE_LEN) n_seqs: number of sequences in the table

GtkIMContextSimple* gtk.IMContextSimple.IMContextSimple.getIMContextSimpleStruct (  ) 

void* gtk.IMContextSimple.IMContextSimple.getStruct (  )  [protected]

the main Gtk struct as a void*

Reimplemented from gtk.IMContext.IMContext.

static IMContext gtk.IMContextSimple.IMContextSimple.newIMContextSimple (  )  [static]

Creates a new GtkIMContextSimple.

Returns: a new GtkIMContextSimple.


Member Data Documentation

GtkIMContextSimple* gtk.IMContextSimple.IMContextSimple.gtkIMContextSimple [protected]

the main Gtk struct


SourceForge.net Logo DSource.org Logo digitalmars.com Logo