Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
IBusExtensionEvent properties.
Synopsis
- newtype ExtensionEvent = ExtensionEvent (ManagedPtr ExtensionEvent)
- class (GObject o, IsDescendantOf ExtensionEvent o) => IsExtensionEvent o
- toExtensionEvent :: (MonadIO m, IsExtensionEvent o) => o -> m ExtensionEvent
- extensionEventGetName :: (HasCallStack, MonadIO m, IsExtensionEvent a) => a -> m Text
- extensionEventGetParams :: (HasCallStack, MonadIO m, IsExtensionEvent a) => a -> m Text
- extensionEventGetVersion :: (HasCallStack, MonadIO m, IsExtensionEvent a) => a -> m Word32
- extensionEventIsEnabled :: (HasCallStack, MonadIO m, IsExtensionEvent a) => a -> m Bool
- extensionEventIsExtension :: (HasCallStack, MonadIO m, IsExtensionEvent a) => a -> m Bool
- constructExtensionEventIsEnabled :: (IsExtensionEvent o, MonadIO m) => Bool -> m (GValueConstruct o)
- getExtensionEventIsEnabled :: (MonadIO m, IsExtensionEvent o) => o -> m Bool
- constructExtensionEventIsExtension :: (IsExtensionEvent o, MonadIO m) => Bool -> m (GValueConstruct o)
- getExtensionEventIsExtension :: (MonadIO m, IsExtensionEvent o) => o -> m Bool
- constructExtensionEventName :: (IsExtensionEvent o, MonadIO m) => Text -> m (GValueConstruct o)
- getExtensionEventName :: (MonadIO m, IsExtensionEvent o) => o -> m Text
- constructExtensionEventParams :: (IsExtensionEvent o, MonadIO m) => Text -> m (GValueConstruct o)
- getExtensionEventParams :: (MonadIO m, IsExtensionEvent o) => o -> m Text
- getExtensionEventVersion :: (MonadIO m, IsExtensionEvent o) => o -> m Word32
Exported types
newtype ExtensionEvent Source #
Memory-managed wrapper type.
ExtensionEvent (ManagedPtr ExtensionEvent) |
Instances
Eq ExtensionEvent Source # | |
Defined in GI.IBus.Objects.ExtensionEvent (==) :: ExtensionEvent -> ExtensionEvent -> Bool # (/=) :: ExtensionEvent -> ExtensionEvent -> Bool # | |
GObject ExtensionEvent Source # | |
Defined in GI.IBus.Objects.ExtensionEvent | |
ManagedPtrNewtype ExtensionEvent Source # | |
Defined in GI.IBus.Objects.ExtensionEvent toManagedPtr :: ExtensionEvent -> ManagedPtr ExtensionEvent | |
TypedObject ExtensionEvent Source # | |
Defined in GI.IBus.Objects.ExtensionEvent | |
HasParentTypes ExtensionEvent Source # | |
Defined in GI.IBus.Objects.ExtensionEvent | |
IsGValue (Maybe ExtensionEvent) Source # | Convert |
Defined in GI.IBus.Objects.ExtensionEvent gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe ExtensionEvent -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe ExtensionEvent) | |
type ParentTypes ExtensionEvent Source # | |
Defined in GI.IBus.Objects.ExtensionEvent |
class (GObject o, IsDescendantOf ExtensionEvent o) => IsExtensionEvent o Source #
Type class for types which can be safely cast to ExtensionEvent
, for instance with toExtensionEvent
.
Instances
(GObject o, IsDescendantOf ExtensionEvent o) => IsExtensionEvent o Source # | |
Defined in GI.IBus.Objects.ExtensionEvent |
toExtensionEvent :: (MonadIO m, IsExtensionEvent o) => o -> m ExtensionEvent Source #
Cast to ExtensionEvent
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, copy, destroy, forceFloating, freezeNotify, getv, isEnabled, isExtension, isFloating, notify, notifyByPspec, ref, refSink, removeQattachment, runDispose, serializeObject, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getName, getParams, getProperty, getQattachment, getQdata, getVersion.
Setters
getName
extensionEventGetName :: (HasCallStack, MonadIO m, IsExtensionEvent a) => a -> m Text Source #
No description available in the introspection data.
getParams
extensionEventGetParams Source #
:: (HasCallStack, MonadIO m, IsExtensionEvent a) | |
=> a |
|
-> m Text | Returns: Parameters to enable the extension for |
No description available in the introspection data.
getVersion
extensionEventGetVersion Source #
:: (HasCallStack, MonadIO m, IsExtensionEvent a) | |
=> a |
|
-> m Word32 | Returns: Version of |
No description available in the introspection data.
isEnabled
extensionEventIsEnabled Source #
:: (HasCallStack, MonadIO m, IsExtensionEvent a) | |
=> a |
|
-> m Bool | Returns: |
No description available in the introspection data.
isExtension
extensionEventIsExtension Source #
:: (HasCallStack, MonadIO m, IsExtensionEvent a) | |
=> a |
|
-> m Bool | Returns: |
No description available in the introspection data.
Properties
isEnabled
True
if the extension is enabled in the ExtensionEvent
.
constructExtensionEventIsEnabled :: (IsExtensionEvent o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “is-enabled
” property. This is rarely needed directly, but it is used by new
.
getExtensionEventIsEnabled :: (MonadIO m, IsExtensionEvent o) => o -> m Bool Source #
Get the value of the “is-enabled
” property.
When overloading is enabled, this is equivalent to
get
extensionEvent #isEnabled
isExtension
True
if the ExtensionEvent
is called by an extension.
False
if the ExtensionEvent
is called by an active engine or
panel.
If this value is True
, the event is send to ibus-daemon, an active
engine. If it's False
, the event is sned to ibus-daemon, panels.
constructExtensionEventIsExtension :: (IsExtensionEvent o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “is-extension
” property. This is rarely needed directly, but it is used by new
.
getExtensionEventIsExtension :: (MonadIO m, IsExtensionEvent o) => o -> m Bool Source #
Get the value of the “is-extension
” property.
When overloading is enabled, this is equivalent to
get
extensionEvent #isExtension
name
Name of the extension in the ExtensionEvent
.
constructExtensionEventName :: (IsExtensionEvent o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “name
” property. This is rarely needed directly, but it is used by new
.
getExtensionEventName :: (MonadIO m, IsExtensionEvent o) => o -> m Text Source #
Get the value of the “name
” property.
When overloading is enabled, this is equivalent to
get
extensionEvent #name
params
Parameters to enable the extension in the ExtensionEvent
.
constructExtensionEventParams :: (IsExtensionEvent o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “params
” property. This is rarely needed directly, but it is used by new
.
getExtensionEventParams :: (MonadIO m, IsExtensionEvent o) => o -> m Text Source #
Get the value of the “params
” property.
When overloading is enabled, this is equivalent to
get
extensionEvent #params
version
Version of the ExtensionEvent
.
getExtensionEventVersion :: (MonadIO m, IsExtensionEvent o) => o -> m Word32 Source #
Get the value of the “version
” property.
When overloading is enabled, this is equivalent to
get
extensionEvent #version