| 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 |
GI.IBus.Objects.ExtensionEvent
Description
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.
Constructors
| ExtensionEvent (ManagedPtr ExtensionEvent) |
Instances
| Eq ExtensionEvent Source # | |
Defined in GI.IBus.Objects.ExtensionEvent Methods (==) :: ExtensionEvent -> ExtensionEvent -> Bool (/=) :: ExtensionEvent -> ExtensionEvent -> Bool | |
| GObject ExtensionEvent Source # | |
Defined in GI.IBus.Objects.ExtensionEvent | |
| ManagedPtrNewtype ExtensionEvent Source # | |
Defined in GI.IBus.Objects.ExtensionEvent Methods toManagedPtr :: ExtensionEvent -> ManagedPtr ExtensionEvent | |
| TypedObject ExtensionEvent Source # | |
Defined in GI.IBus.Objects.ExtensionEvent Methods glibType :: IO GType | |
| IsGValue ExtensionEvent Source # | Convert |
Defined in GI.IBus.Objects.ExtensionEvent | |
| HasParentTypes ExtensionEvent Source # | |
Defined in GI.IBus.Objects.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
Overloaded methods
getName
extensionEventGetName :: (HasCallStack, MonadIO m, IsExtensionEvent a) => a -> m Text Source #
No description available in the introspection data.
getParams
extensionEventGetParams Source #
Arguments
| :: (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 #
Arguments
| :: (HasCallStack, MonadIO m, IsExtensionEvent a) | |
| => a |
|
| -> m Word32 | Returns: Version of |
No description available in the introspection data.
isEnabled
extensionEventIsEnabled Source #
Arguments
| :: (HasCallStack, MonadIO m, IsExtensionEvent a) | |
| => a |
|
| -> m Bool | Returns: |
No description available in the introspection data.
isExtension
extensionEventIsExtension Source #
Arguments
| :: (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