gi-gtk-3.0.32: Gtk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.IMMulticontext

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

newtype IMMulticontext Source #

Memory-managed wrapper type.

Constructors

IMMulticontext (ManagedPtr IMMulticontext) 
Instances
Eq IMMulticontext Source # 
Instance details

Defined in GI.Gtk.Objects.IMMulticontext

GObject IMMulticontext Source # 
Instance details

Defined in GI.Gtk.Objects.IMMulticontext

Methods

gobjectType :: IO GType

IsGValue IMMulticontext Source #

Convert IMMulticontext to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Gtk.Objects.IMMulticontext

Methods

toGValue :: IMMulticontext -> IO GValue

fromGValue :: GValue -> IO IMMulticontext

HasParentTypes IMMulticontext Source # 
Instance details

Defined in GI.Gtk.Objects.IMMulticontext

type ParentTypes IMMulticontext Source # 
Instance details

Defined in GI.Gtk.Objects.IMMulticontext

type ParentTypes IMMulticontext = IMContext ': (Object ': ([] :: [Type]))

class (GObject o, IsDescendantOf IMMulticontext o) => IsIMMulticontext o Source #

Type class for types which can be safely cast to IMMulticontext, for instance with toIMMulticontext.

Instances
(GObject o, IsDescendantOf IMMulticontext o) => IsIMMulticontext o Source # 
Instance details

Defined in GI.Gtk.Objects.IMMulticontext

toIMMulticontext :: (MonadIO m, IsIMMulticontext o) => o -> m IMMulticontext Source #

Cast to IMMulticontext, for types for which this is known to be safe. For general casts, use castTo.

noIMMulticontext :: Maybe IMMulticontext Source #

A convenience alias for Nothing :: Maybe IMMulticontext.

Methods

Overloaded methods

appendMenuitems

iMMulticontextAppendMenuitems Source #

Arguments

:: (HasCallStack, MonadIO m, IsIMMulticontext a, IsMenuShell b) 
=> a

context: a tIMMulticontext

-> b

menushell: a tMenuShell

-> m () 

Deprecated: (Since version 3.10)It is better to use the system-wide input method framework for changing input methods. Modern desktop shells offer on-screen displays for this that can triggered with a keyboard shortcut, e.g. Super-Space.

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.

getContextId

iMMulticontextGetContextId Source #

Arguments

:: (HasCallStack, MonadIO m, IsIMMulticontext a) 
=> a

context: a tIMMulticontext

-> m Text

Returns: the id of the currently active slave

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

Since: 2.16

new

iMMulticontextNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m IMMulticontext

Returns: a new tIMMulticontext.

Creates a new tIMMulticontext.

setContextId

iMMulticontextSetContextId Source #

Arguments

:: (HasCallStack, MonadIO m, IsIMMulticontext a) 
=> a

context: a tIMMulticontext

-> Text

contextId: the id to use

-> m () 

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: 2.16