Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
A BindingArg
holds the data associated with
an argument for a key binding signal emission as
stored in BindingSignal
.
Synopsis
- newtype BindingArg = BindingArg (ManagedPtr BindingArg)
- newZeroBindingArg :: MonadIO m => m BindingArg
- noBindingArg :: Maybe BindingArg
- getBindingArgArgType :: MonadIO m => BindingArg -> m GType
- setBindingArgArgType :: MonadIO m => BindingArg -> GType -> m ()
Exported types
newtype BindingArg Source #
Memory-managed wrapper type.
Instances
WrappedPtr BindingArg Source # | |
Defined in GI.Gtk.Structs.BindingArg | |
tag ~ AttrSet => Constructible BindingArg tag Source # | |
Defined in GI.Gtk.Structs.BindingArg new :: MonadIO m => (ManagedPtr BindingArg -> BindingArg) -> [AttrOp BindingArg tag] -> m BindingArg # |
newZeroBindingArg :: MonadIO m => m BindingArg Source #
Construct a BindingArg
struct initialized to zero.
noBindingArg :: Maybe BindingArg Source #
A convenience alias for Nothing
:: Maybe
BindingArg
.
Properties
argType
implementation detail
getBindingArgArgType :: MonadIO m => BindingArg -> m GType Source #
Get the value of the “arg_type
” field.
When overloading is enabled, this is equivalent to
get
bindingArg #argType
setBindingArgArgType :: MonadIO m => BindingArg -> GType -> m () Source #
Set the value of the “arg_type
” field.
When overloading is enabled, this is equivalent to
set
bindingArg [ #argType:=
value ]