gi-dazzle-1.0.2: libdazzle bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Dazzle.Objects.ShortcutContext

Description

No description available in the introspection data.

Synopsis

Exported types

newtype ShortcutContext Source #

Memory-managed wrapper type.

Constructors

ShortcutContext (ManagedPtr ShortcutContext) 

Instances

Instances details
Eq ShortcutContext Source # 
Instance details

Defined in GI.Dazzle.Objects.ShortcutContext

GObject ShortcutContext Source # 
Instance details

Defined in GI.Dazzle.Objects.ShortcutContext

ManagedPtrNewtype ShortcutContext Source # 
Instance details

Defined in GI.Dazzle.Objects.ShortcutContext

TypedObject ShortcutContext Source # 
Instance details

Defined in GI.Dazzle.Objects.ShortcutContext

Methods

glibType :: IO GType

HasParentTypes ShortcutContext Source # 
Instance details

Defined in GI.Dazzle.Objects.ShortcutContext

IsGValue (Maybe ShortcutContext) Source #

Convert ShortcutContext to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Dazzle.Objects.ShortcutContext

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe ShortcutContext -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe ShortcutContext)

type ParentTypes ShortcutContext Source # 
Instance details

Defined in GI.Dazzle.Objects.ShortcutContext

type ParentTypes ShortcutContext = '[Object]

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

Instances details
(GObject o, IsDescendantOf ShortcutContext o) => IsShortcutContext o Source # 
Instance details

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

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

self: a ShortcutContext

-> Text

accel: the accelerator for the shortcut

-> Text

signalName: the name of the signal

-> Maybe [GValue]

values: The values to use when calling the signal.

-> 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 GError)

No description available in the introspection data.

loadFromResource

shortcutContextLoadFromResource Source #

Arguments

:: (HasCallStack, MonadIO m, IsShortcutContext a) 
=> a 
-> Text 
-> m ()

(Can throw GError)

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 ]