GtkIMMulticontext

GtkIMMulticontext — An input method context supporting multiple, loadable input methods

Types and Values

Object Hierarchy

    GObject
    ╰── GtkIMContext
        ╰── GtkIMMulticontext

Includes

#include <gtk/gtk.h>

Description

Functions

gtk_im_multicontext_new ()

GtkIMContext *
gtk_im_multicontext_new (void);

Creates a new GtkIMMulticontext.

Returns

a new GtkIMMulticontext.


gtk_im_multicontext_get_context_id ()

const char *
gtk_im_multicontext_get_context_id (GtkIMMulticontext *context);

Gets the id of the currently active delegate of the context .

Parameters

context

a GtkIMMulticontext

 

Returns

the id of the currently active delegate


gtk_im_multicontext_set_context_id ()

void
gtk_im_multicontext_set_context_id (GtkIMMulticontext *context,
                                    const char *context_id);

Sets the context id for context .

This causes the currently active delegate of context to be replaced by the delegate corresponding to the new context id.

Parameters

context

a GtkIMMulticontext

 

context_id

the id to use

 

Types and Values

struct GtkIMMulticontext

struct GtkIMMulticontext;