Gtk.IM_Multi_Context

Entities

Tagged Types

Access Types

Subprograms

Description

---------------------------------------------------------------------------- -- 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/>. -- -- ----------------------------------------------------------------------------

Append_Menuitems

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

Parameters
Self
Menushell

a Gtk.Menu_Shell.Gtk_Menu_Shell

Get_Context_Id

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

Parameters
Self
Return Value

the id of the currently active slave

Get_Type

function Get_Type return Glib.GType
Return Value

Gtk_IM_Multi_Context

type Gtk_IM_Multi_Context is access all Gtk_IM_Multi_Context_Record'Class;

Gtk_IM_Multi_Context_New

function Gtk_IM_Multi_Context_New return Gtk_IM_Multi_Context

Creates a new Gtk.IM_Multi_Context.Gtk_IM_Multi_Context.

Return Value

Gtk_IM_Multi_Context_Record

type Gtk_IM_Multi_Context_Record is new Gtk_IM_Context_Record with null record;

Gtk_New

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.

Parameters
Self

Initialize

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.

Parameters
Self

Set_Context_Id

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

Parameters
Self
Context_Id

the id to use