Index

Package: IM_Context_Simple

Description

package Gtk.IM_Context_Simple is
---------------------------------------------------------------------------- -- Copyright (C) 1998-2000 E. Briot, J. Brobecker and A. Charlet -- Copyright (C) 2000-2014, AdaCore -- -- This library is free software; you can redistribute it and/or modify it -- under terms of the GNU General Public License as published by the Free -- Software Foundation; either version 3, or (at your option) any later -- version. This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- -- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- -- As a special exception under Section 7 of GPL version 3, you are granted -- additional permissions described in the GCC Runtime Library Exception, -- version 3.1, as published by the Free Software Foundation. -- -- You should have received a copy of the GNU General Public License and -- a copy of the GCC Runtime Library Exception along with this program; -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- <http://www.gnu.org/licenses/>. -- -- ----------------------------------------------------------------------------

Classes

Gtk_IM_Context_Simple_Record

type Gtk_IM_Context_Simple_Record is new Gtk_IM_Context_Record with null record;

Ancestors:

Primitive operations:

Glib.Object.Deallocate (Inherited)
Glib.Object.Get_Type (Inherited)
Glib.Object.Notify (Inherited)
Glib.Object.Ref (Inherited)
Glib.Object.Ref_Sink (Inherited)
Glib.Object.Unref (Inherited)
Gtk.IM_Context.Delete_Surrounding (Inherited)
Gtk.IM_Context.Filter_Keypress (Inherited)
Gtk.IM_Context.Focus_In (Inherited)
Gtk.IM_Context.Focus_Out (Inherited)
Gtk.IM_Context.On_Commit (Inherited)
Gtk.IM_Context.On_Commit (Inherited)
Gtk.IM_Context.On_Delete_Surrounding (Inherited)
Gtk.IM_Context.On_Delete_Surrounding (Inherited)
Gtk.IM_Context.On_Preedit_Changed (Inherited)
Gtk.IM_Context.On_Preedit_Changed (Inherited)
Gtk.IM_Context.On_Preedit_End (Inherited)
Gtk.IM_Context.On_Preedit_End (Inherited)
Gtk.IM_Context.On_Preedit_Start (Inherited)
Gtk.IM_Context.On_Preedit_Start (Inherited)
Gtk.IM_Context.On_Retrieve_Surrounding (Inherited)
Gtk.IM_Context.On_Retrieve_Surrounding (Inherited)
Gtk.IM_Context.Reset (Inherited)
Gtk.IM_Context.Set_Client_Window (Inherited)
Gtk.IM_Context.Set_Cursor_Location (Inherited)
Gtk.IM_Context.Set_Surrounding (Inherited)
Gtk.IM_Context.Set_Use_Preedit (Inherited)

Types

Gtk_IM_Context_Simple

type Gtk_IM_Context_Simple is access all Gtk_IM_Context_Simple_Record'Class;

Subprograms & Entries

Gtk_New

procedure Gtk_New 
(Self: out Gtk_IM_Context_Simple);

Initialize

procedure Initialize 
(Self: not null access Gtk_IM_Context_Simple_Record'Class);

Gtk_IM_Context_Simple_New

function Gtk_IM_Context_Simple_New return Gtk_IM_Context_Simple;

Get_Type

function Get_Type return Glib.GType;

Add_Table

procedure Add_Table 
(Self: not null access Gtk_IM_Context_Simple_Record;
Data: in out Guint16;
Max_Seq_Len: Gint;
N_Seqs: Gint);
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.) "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