Trait gtk4::prelude::IMMulticontextExt[][src]

pub trait IMMulticontextExt: 'static {
    fn context_id(&self) -> Option<GString>;
fn set_context_id(&self, context_id: Option<&str>); }
Expand description

Trait containing all IMMulticontext methods.

Implementors

IMMulticontext

Required methods

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

Returns

the id of the currently active delegate

Sets the context id for self.

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

Setting this to a non-None value overrides the system-wide IM module setting. See the property::Settings::gtk-im-module property.

context_id

the id to use

Implementors