gi-ibus-1.5.7: IBus bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.IBus.Objects.PropList

Description

See_also: Property, Engine

Synopsis

Exported types

newtype PropList Source #

Memory-managed wrapper type.

Constructors

PropList (ManagedPtr PropList) 

Instances

Instances details
Eq PropList Source # 
Instance details

Defined in GI.IBus.Objects.PropList

GObject PropList Source # 
Instance details

Defined in GI.IBus.Objects.PropList

ManagedPtrNewtype PropList Source # 
Instance details

Defined in GI.IBus.Objects.PropList

Methods

toManagedPtr :: PropList -> ManagedPtr PropList

TypedObject PropList Source # 
Instance details

Defined in GI.IBus.Objects.PropList

Methods

glibType :: IO GType

HasParentTypes PropList Source # 
Instance details

Defined in GI.IBus.Objects.PropList

IsGValue (Maybe PropList) Source #

Convert PropList to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.IBus.Objects.PropList

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe PropList -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe PropList)

type ParentTypes PropList Source # 
Instance details

Defined in GI.IBus.Objects.PropList

type ParentTypes PropList = '[Serializable, Object, Object]

class (GObject o, IsDescendantOf PropList o) => IsPropList o Source #

Type class for types which can be safely cast to PropList, for instance with toPropList.

Instances

Instances details
(GObject o, IsDescendantOf PropList o) => IsPropList o Source # 
Instance details

Defined in GI.IBus.Objects.PropList

toPropList :: (MonadIO m, IsPropList o) => o -> m PropList Source #

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

Methods

append

propListAppend Source #

Arguments

:: (HasCallStack, MonadIO m, IsPropList a, IsProperty b) 
=> a

propList: An IBusPropList.

-> b

prop: IBusProperty to be append to propList.

-> m () 

Append an IBusProperty to an IBusPropList, and increase reference.

get

propListGet Source #

Arguments

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

propList: An IBusPropList.

-> Word32

index: Index of an IBusPropList.

-> m Property

Returns: Property at given index, Nothing if no such Property.

Gets Property at given index. Borrowed reference.

new

propListNew Source #

Arguments

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

Returns: A newly allocated PropList.

Create a new PropList.

updateProperty

propListUpdateProperty Source #

Arguments

:: (HasCallStack, MonadIO m, IsPropList a, IsProperty b) 
=> a

propList: An IBusPropList.

-> b

prop: IBusProperty to be update.

-> m Bool

Returns: True if succeeded, False otherwise.

Update an IBusProperty in IBusPropList.