Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype IMMulticontext = IMMulticontext (ManagedPtr IMMulticontext)
- class (GObject o, IsDescendantOf IMMulticontext o) => IsIMMulticontext o
- toIMMulticontext :: (MonadIO m, IsIMMulticontext o) => o -> m IMMulticontext
- iMMulticontextAppendMenuitems :: (HasCallStack, MonadIO m, IsIMMulticontext a, IsMenuShell b) => a -> b -> m ()
- iMMulticontextGetContextId :: (HasCallStack, MonadIO m, IsIMMulticontext a) => a -> m Text
- iMMulticontextNew :: (HasCallStack, MonadIO m) => m IMMulticontext
- iMMulticontextSetContextId :: (HasCallStack, MonadIO m, IsIMMulticontext a) => a -> Text -> m ()
Exported types
newtype IMMulticontext Source #
Memory-managed wrapper type.
IMMulticontext (ManagedPtr IMMulticontext) |
Instances
Eq IMMulticontext Source # | |
Defined in GI.Gtk.Objects.IMMulticontext (==) :: IMMulticontext -> IMMulticontext -> Bool # (/=) :: IMMulticontext -> IMMulticontext -> Bool # | |
GObject IMMulticontext Source # | |
Defined in GI.Gtk.Objects.IMMulticontext | |
ManagedPtrNewtype IMMulticontext Source # | |
Defined in GI.Gtk.Objects.IMMulticontext toManagedPtr :: IMMulticontext -> ManagedPtr IMMulticontext | |
TypedObject IMMulticontext Source # | |
Defined in GI.Gtk.Objects.IMMulticontext | |
HasParentTypes IMMulticontext Source # | |
Defined in GI.Gtk.Objects.IMMulticontext | |
IsGValue (Maybe IMMulticontext) Source # | Convert |
Defined in GI.Gtk.Objects.IMMulticontext gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe IMMulticontext -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe IMMulticontext) | |
type ParentTypes IMMulticontext Source # | |
Defined in GI.Gtk.Objects.IMMulticontext |
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 # | |
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
.
Methods
Click to display all available methods, including inherited ones
Methods
appendMenuitems, bindProperty, bindPropertyFull, deleteSurrounding, filterKeypress, focusIn, focusOut, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, reset, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getContextId, getData, getPreeditString, getProperty, getQdata, getSurrounding.
Setters
setClientWindow, setContextId, setCursorLocation, setData, setDataFull, setProperty, setSurrounding, setUsePreedit.
appendMenuitems
iMMulticontextAppendMenuitems Source #
:: (HasCallStack, MonadIO m, IsIMMulticontext a, IsMenuShell b) | |
=> a |
|
-> b |
|
-> 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 #
:: (HasCallStack, MonadIO m, IsIMMulticontext a) | |
=> a |
|
-> 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
:: (HasCallStack, MonadIO m) | |
=> m IMMulticontext | Returns: a new |
Creates a new IMMulticontext
.
setContextId
iMMulticontextSetContextId Source #
:: (HasCallStack, MonadIO m, IsIMMulticontext a) | |
=> a |
|
-> Text |
|
-> 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