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 |
GI.Dazzle.Objects.ShortcutContext
Description
No description available in the introspection data.
Synopsis
- newtype ShortcutContext = ShortcutContext (ManagedPtr ShortcutContext)
- class (GObject o, IsDescendantOf ShortcutContext o) => IsShortcutContext o
- toShortcutContext :: (MonadIO m, IsShortcutContext o) => o -> m ShortcutContext
- shortcutContextActivate :: (HasCallStack, MonadIO m, IsShortcutContext a, IsWidget b) => a -> b -> ShortcutChord -> m ShortcutMatch
- shortcutContextAddAction :: (HasCallStack, MonadIO m, IsShortcutContext a) => a -> Text -> Text -> m ()
- shortcutContextAddCommand :: (HasCallStack, MonadIO m, IsShortcutContext a) => a -> Text -> Text -> m ()
- shortcutContextAddSignalv :: (HasCallStack, MonadIO m, IsShortcutContext a) => a -> Text -> Text -> Maybe [GValue] -> m ()
- shortcutContextGetName :: (HasCallStack, MonadIO m, IsShortcutContext a) => a -> m Text
- shortcutContextLoadFromData :: (HasCallStack, MonadIO m, IsShortcutContext a) => a -> Text -> Int64 -> m ()
- shortcutContextLoadFromResource :: (HasCallStack, MonadIO m, IsShortcutContext a) => a -> Text -> m ()
- shortcutContextNew :: (HasCallStack, MonadIO m) => Text -> m ShortcutContext
- shortcutContextRemove :: (HasCallStack, MonadIO m, IsShortcutContext a) => a -> Text -> m Bool
- constructShortcutContextName :: (IsShortcutContext o, MonadIO m) => Text -> m (GValueConstruct o)
- getShortcutContextName :: (MonadIO m, IsShortcutContext o) => o -> m Text
- constructShortcutContextUseBindingSets :: (IsShortcutContext o, MonadIO m) => Bool -> m (GValueConstruct o)
- getShortcutContextUseBindingSets :: (MonadIO m, IsShortcutContext o) => o -> m Bool
- setShortcutContextUseBindingSets :: (MonadIO m, IsShortcutContext o) => o -> Bool -> m ()
Exported types
newtype ShortcutContext Source #
Memory-managed wrapper type.
Constructors
ShortcutContext (ManagedPtr ShortcutContext) |
Instances
class (GObject o, IsDescendantOf ShortcutContext o) => IsShortcutContext o Source #
Type class for types which can be safely cast to ShortcutContext
, for instance with toShortcutContext
.
Instances
(GObject o, IsDescendantOf ShortcutContext o) => IsShortcutContext o Source # | |
Defined in GI.Dazzle.Objects.ShortcutContext |
toShortcutContext :: (MonadIO m, IsShortcutContext o) => o -> m ShortcutContext Source #
Cast to ShortcutContext
, 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
activate, addAction, addCommand, addSignalv, bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, loadFromData, loadFromResource, notify, notifyByPspec, ref, refSink, remove, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getName, getProperty, getQdata.
Setters
activate
shortcutContextActivate :: (HasCallStack, MonadIO m, IsShortcutContext a, IsWidget b) => a -> b -> ShortcutChord -> m ShortcutMatch Source #
No description available in the introspection data.
addAction
shortcutContextAddAction :: (HasCallStack, MonadIO m, IsShortcutContext a) => a -> Text -> Text -> m () Source #
No description available in the introspection data.
addCommand
shortcutContextAddCommand :: (HasCallStack, MonadIO m, IsShortcutContext a) => a -> Text -> Text -> m () Source #
No description available in the introspection data.
addSignalv
shortcutContextAddSignalv Source #
Arguments
:: (HasCallStack, MonadIO m, IsShortcutContext a) | |
=> a |
|
-> Text |
|
-> Text |
|
-> Maybe [GValue] |
|
-> m () |
This is similar to dzl_shortcut_context_add_signal()
but is easier to use
from language bindings.
getName
shortcutContextGetName :: (HasCallStack, MonadIO m, IsShortcutContext a) => a -> m Text Source #
No description available in the introspection data.
loadFromData
shortcutContextLoadFromData Source #
Arguments
:: (HasCallStack, MonadIO m, IsShortcutContext a) | |
=> a | |
-> Text | |
-> Int64 | |
-> m () | (Can throw |
No description available in the introspection data.
loadFromResource
shortcutContextLoadFromResource Source #
Arguments
:: (HasCallStack, MonadIO m, IsShortcutContext a) | |
=> a | |
-> Text | |
-> m () | (Can throw |
No description available in the introspection data.
new
shortcutContextNew :: (HasCallStack, MonadIO m) => Text -> m ShortcutContext Source #
No description available in the introspection data.
remove
shortcutContextRemove :: (HasCallStack, MonadIO m, IsShortcutContext a) => a -> Text -> m Bool Source #
No description available in the introspection data.
Properties
name
No description available in the introspection data.
constructShortcutContextName :: (IsShortcutContext 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
.
getShortcutContextName :: (MonadIO m, IsShortcutContext o) => o -> m Text Source #
Get the value of the “name
” property.
When overloading is enabled, this is equivalent to
get
shortcutContext #name
useBindingSets
No description available in the introspection data.
constructShortcutContextUseBindingSets :: (IsShortcutContext o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “use-binding-sets
” property. This is rarely needed directly, but it is used by new
.
getShortcutContextUseBindingSets :: (MonadIO m, IsShortcutContext o) => o -> m Bool Source #
Get the value of the “use-binding-sets
” property.
When overloading is enabled, this is equivalent to
get
shortcutContext #useBindingSets
setShortcutContextUseBindingSets :: (MonadIO m, IsShortcutContext o) => o -> Bool -> m () Source #
Set the value of the “use-binding-sets
” property.
When overloading is enabled, this is equivalent to
set
shortcutContext [ #useBindingSets:=
value ]