gi-gtk-3.0.24: Gtk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Structs.IMContextInfo

Contents

Description

Bookkeeping information about a loadable input method.

Synopsis

Exported types

newZeroIMContextInfo :: MonadIO m => m IMContextInfo Source #

Construct a IMContextInfo struct initialized to zero.

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

set iMContextInfo [ #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

set iMContextInfo [ #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

set iMContextInfo [ #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

set iMContextInfo [ #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

set iMContextInfo [ #domainDirname := value ]