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 |
Synopsis
- newtype PropList = PropList (ManagedPtr PropList)
- class (GObject o, IsDescendantOf PropList o) => IsPropList o
- toPropList :: (MonadIO m, IsPropList o) => o -> m PropList
- propListAppend :: (HasCallStack, MonadIO m, IsPropList a, IsProperty b) => a -> b -> m ()
- propListGet :: (HasCallStack, MonadIO m, IsPropList a) => a -> Word32 -> m Property
- propListNew :: (HasCallStack, MonadIO m) => m PropList
- propListUpdateProperty :: (HasCallStack, MonadIO m, IsPropList a, IsProperty b) => a -> b -> m Bool
Exported types
Memory-managed wrapper type.
Instances
Eq PropList Source # | |
GObject PropList Source # | |
Defined in GI.IBus.Objects.PropList | |
ManagedPtrNewtype PropList Source # | |
Defined in GI.IBus.Objects.PropList toManagedPtr :: PropList -> ManagedPtr PropList | |
TypedObject PropList Source # | |
Defined in GI.IBus.Objects.PropList glibType :: IO GType | |
IsGValue PropList Source # | Convert |
Defined in GI.IBus.Objects.PropList toGValue :: PropList -> IO GValue fromGValue :: GValue -> IO PropList | |
HasParentTypes PropList Source # | |
Defined in GI.IBus.Objects.PropList | |
type ParentTypes PropList Source # | |
Defined in GI.IBus.Objects.PropList |
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
(GObject o, IsDescendantOf PropList o) => IsPropList o Source # | |
Defined in GI.IBus.Objects.PropList |
toPropList :: (MonadIO m, IsPropList o) => o -> m PropList Source #
Methods
Overloaded methods
append
:: (HasCallStack, MonadIO m, IsPropList a, IsProperty b) | |
=> a |
|
-> b |
|
-> m () |
Append an IBusProperty to an IBusPropList, and increase reference.
get
:: (HasCallStack, MonadIO m, IsPropList a) | |
=> a |
|
-> Word32 |
|
-> m Property | Returns: |
Gets Property
at given index. Borrowed reference.
new
Create a new PropList
.
updateProperty
propListUpdateProperty Source #
:: (HasCallStack, MonadIO m, IsPropList a, IsProperty b) | |
=> a |
|
-> b |
|
-> m Bool | Returns: |
Update an IBusProperty in IBusPropList.