---------------------------------------------------------------------------- -- Copyright (C) 1998-2000 E. Briot, J. Brobecker and A. Charlet -- Copyright (C) 2000-2022, 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/>. -- -- ----------------------------------------------------------------------------
procedure Append_Menuitems
(Self : not null access Gtk_IM_Multi_Context_Record;
Menushell : not null access Gtk.Menu_Shell.Gtk_Menu_Shell_Record'Class)
Add menuitems for various available input methods to a menu; the menuitems, when selected, will switch the input method for the context and the global default input method. Deprecated since 3.10, 1
a Gtk.Menu_Shell.Gtk_Menu_Shell
function Get_Context_Id
(Self : not null access Gtk_IM_Multi_Context_Record)
return UTF8_String
Gets the id of the currently active slave of the Context. Since: gtk+ 2.16
the id of the currently active slave
function Get_Type return Glib.GType
type Gtk_IM_Multi_Context is access all Gtk_IM_Multi_Context_Record'Class;
function Gtk_IM_Multi_Context_New return Gtk_IM_Multi_Context
Creates a new Gtk.IM_Multi_Context.Gtk_IM_Multi_Context.
type Gtk_IM_Multi_Context_Record is new Gtk_IM_Context_Record with null record;
procedure Gtk_New (Self : out Gtk_IM_Multi_Context)
Creates a new Gtk.IM_Multi_Context.Gtk_IM_Multi_Context. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
procedure Initialize
(Self : not null access Gtk_IM_Multi_Context_Record'Class)
Creates a new Gtk.IM_Multi_Context.Gtk_IM_Multi_Context. Initialize does nothing if the object was already created with another call to Initialize* or G_New.
procedure Set_Context_Id
(Self : not null access Gtk_IM_Multi_Context_Record;
Context_Id : UTF8_String)
Sets the context id for Context. This causes the currently active slave of Context to be replaced by the slave corresponding to the new context id. Since: gtk+ 2.16
the id to use