Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
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 | |
HasParentTypes PropList Source # | |
Defined in GI.IBus.Objects.PropList | |
IsGValue (Maybe PropList) Source # | Convert |
Defined in GI.IBus.Objects.PropList gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe PropList -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe 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
Click to display all available methods, including inherited ones
Methods
append, bindProperty, bindPropertyFull, copy, destroy, forceFloating, freezeNotify, get, getv, isFloating, notify, notifyByPspec, ref, refSink, removeQattachment, runDispose, serializeObject, stealData, stealQdata, thawNotify, unref, updateProperty, watchClosure.
Getters
getData, getProperty, getQattachment, getQdata.
Setters
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
:: (HasCallStack, MonadIO m) | |
=> m PropList | Returns: A newly allocated |
Create a new PropList
.
updateProperty
propListUpdateProperty Source #
:: (HasCallStack, MonadIO m, IsPropList a, IsProperty b) | |
=> a |
|
-> b |
|
-> m Bool |
Update an IBusProperty in IBusPropList.