gi-gtk-3.0.37: Gtk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gtk.Structs.IMContextInfo

Description

Bookkeeping information about a loadable input method.

Synopsis

Exported types

newtype IMContextInfo Source #

Memory-managed wrapper type.

Constructors

IMContextInfo (ManagedPtr IMContextInfo) 

Instances

Instances details
Eq IMContextInfo Source # 
Instance details

Defined in GI.Gtk.Structs.IMContextInfo

BoxedPtr IMContextInfo Source # 
Instance details

Defined in GI.Gtk.Structs.IMContextInfo

CallocPtr IMContextInfo Source # 
Instance details

Defined in GI.Gtk.Structs.IMContextInfo

ManagedPtrNewtype IMContextInfo Source # 
Instance details

Defined in GI.Gtk.Structs.IMContextInfo

Methods

toManagedPtr :: IMContextInfo -> ManagedPtr IMContextInfo

tag ~ 'AttrSet => Constructible IMContextInfo tag Source # 
Instance details

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

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 ]