| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte | 
|---|---|
| License | LGPL-2.1 | 
| Maintainer | Iñaki García Etxebarria | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
GI.Gtk.Structs.IMContextInfo
Description
Bookkeeping information about a loadable input method.
Synopsis
- newtype IMContextInfo = IMContextInfo (ManagedPtr IMContextInfo)
 - newZeroIMContextInfo :: MonadIO m => m IMContextInfo
 - clearIMContextInfoContextId :: MonadIO m => IMContextInfo -> m ()
 - getIMContextInfoContextId :: MonadIO m => IMContextInfo -> m (Maybe Text)
 - setIMContextInfoContextId :: MonadIO m => IMContextInfo -> CString -> m ()
 - clearIMContextInfoContextName :: MonadIO m => IMContextInfo -> m ()
 - getIMContextInfoContextName :: MonadIO m => IMContextInfo -> m (Maybe Text)
 - setIMContextInfoContextName :: MonadIO m => IMContextInfo -> CString -> m ()
 - clearIMContextInfoDefaultLocales :: MonadIO m => IMContextInfo -> m ()
 - getIMContextInfoDefaultLocales :: MonadIO m => IMContextInfo -> m (Maybe Text)
 - setIMContextInfoDefaultLocales :: MonadIO m => IMContextInfo -> CString -> m ()
 - clearIMContextInfoDomain :: MonadIO m => IMContextInfo -> m ()
 - getIMContextInfoDomain :: MonadIO m => IMContextInfo -> m (Maybe Text)
 - setIMContextInfoDomain :: MonadIO m => IMContextInfo -> CString -> m ()
 - clearIMContextInfoDomainDirname :: MonadIO m => IMContextInfo -> m ()
 - getIMContextInfoDomainDirname :: MonadIO m => IMContextInfo -> m (Maybe Text)
 - setIMContextInfoDomainDirname :: MonadIO m => IMContextInfo -> CString -> m ()
 
Exported types
newtype IMContextInfo Source #
Memory-managed wrapper type.
Constructors
| IMContextInfo (ManagedPtr IMContextInfo) | 
Instances
| Eq IMContextInfo Source # | |
Defined in GI.Gtk.Structs.IMContextInfo Methods (==) :: IMContextInfo -> IMContextInfo -> Bool # (/=) :: IMContextInfo -> IMContextInfo -> Bool #  | |
| WrappedPtr IMContextInfo Source # | |
Defined in GI.Gtk.Structs.IMContextInfo Methods wrappedPtrCalloc :: IO (Ptr IMContextInfo) #  | |
| tag ~ 'AttrSet => Constructible IMContextInfo tag Source # | |
Defined in GI.Gtk.Structs.IMContextInfo Methods new :: MonadIO m => (ManagedPtr IMContextInfo -> IMContextInfo) -> [AttrOp IMContextInfo tag] -> m IMContextInfo #  | |
newZeroIMContextInfo :: MonadIO m => m IMContextInfo Source #
Construct a IMContextInfo struct initialized to zero.
Methods
Overloaded methods
Properties
contextId
The unique identification string of the input method.
clearIMContextInfoContextId :: MonadIO m => IMContextInfo -> m () Source #
Set the value of the “context_id” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #contextId
getIMContextInfoContextId :: MonadIO m => IMContextInfo -> m (Maybe Text) Source #
Get the value of the “context_id” field.
 When overloading is enabled, this is equivalent to
get iMContextInfo #contextId
setIMContextInfoContextId :: MonadIO m => IMContextInfo -> CString -> m () Source #
Set the value of the “context_id” field.
 When overloading is enabled, this is equivalent to
setiMContextInfo [ #contextId:=value ]
contextName
The human-readable name of the input method.
clearIMContextInfoContextName :: MonadIO m => IMContextInfo -> m () Source #
Set the value of the “context_name” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #contextName
getIMContextInfoContextName :: MonadIO m => IMContextInfo -> m (Maybe Text) Source #
Get the value of the “context_name” field.
 When overloading is enabled, this is equivalent to
get iMContextInfo #contextName
setIMContextInfoContextName :: MonadIO m => IMContextInfo -> CString -> m () Source #
Set the value of the “context_name” field.
 When overloading is enabled, this is equivalent to
setiMContextInfo [ #contextName:=value ]
defaultLocales
A colon-separated list of locales where this input method should be the default. The asterisk “*” sets the default for all locales.
clearIMContextInfoDefaultLocales :: MonadIO m => IMContextInfo -> m () Source #
Set the value of the “default_locales” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #defaultLocales
getIMContextInfoDefaultLocales :: MonadIO m => IMContextInfo -> m (Maybe Text) Source #
Get the value of the “default_locales” field.
 When overloading is enabled, this is equivalent to
get iMContextInfo #defaultLocales
setIMContextInfoDefaultLocales :: MonadIO m => IMContextInfo -> CString -> m () Source #
Set the value of the “default_locales” field.
 When overloading is enabled, this is equivalent to
setiMContextInfo [ #defaultLocales:=value ]
domain
Translation domain to be used with dgettext()
clearIMContextInfoDomain :: MonadIO m => IMContextInfo -> m () Source #
Set the value of the “domain” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #domain
getIMContextInfoDomain :: MonadIO m => IMContextInfo -> m (Maybe Text) Source #
Get the value of the “domain” field.
 When overloading is enabled, this is equivalent to
get iMContextInfo #domain
setIMContextInfoDomain :: MonadIO m => IMContextInfo -> CString -> m () Source #
Set the value of the “domain” field.
 When overloading is enabled, this is equivalent to
setiMContextInfo [ #domain:=value ]
domainDirname
Name of locale directory for use with bindtextdomain()
clearIMContextInfoDomainDirname :: MonadIO m => IMContextInfo -> m () Source #
Set the value of the “domain_dirname” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #domainDirname
getIMContextInfoDomainDirname :: MonadIO m => IMContextInfo -> m (Maybe Text) Source #
Get the value of the “domain_dirname” field.
 When overloading is enabled, this is equivalent to
get iMContextInfo #domainDirname
setIMContextInfoDomainDirname :: MonadIO m => IMContextInfo -> CString -> m () Source #
Set the value of the “domain_dirname” field.
 When overloading is enabled, this is equivalent to
setiMContextInfo [ #domainDirname:=value ]