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 |
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
- getBindingArgArgType :: MonadIO m => BindingArg -> m GType
- setBindingArgArgType :: MonadIO m => BindingArg -> GType -> m ()
Exported types
newtype BindingArg Source #
Memory-managed wrapper type.
BindingArg (ManagedPtr BindingArg) |
Instances
Eq BindingArg Source # | |
Defined in GI.Gtk.Structs.BindingArg (==) :: BindingArg -> BindingArg -> Bool # (/=) :: BindingArg -> BindingArg -> Bool # | |
BoxedPtr BindingArg Source # | |
Defined in GI.Gtk.Structs.BindingArg boxedPtrCopy :: BindingArg -> IO BindingArg boxedPtrFree :: BindingArg -> IO () | |
CallocPtr BindingArg Source # | |
Defined in GI.Gtk.Structs.BindingArg boxedPtrCalloc :: IO (Ptr BindingArg) | |
ManagedPtrNewtype BindingArg Source # | |
Defined in GI.Gtk.Structs.BindingArg toManagedPtr :: BindingArg -> ManagedPtr 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.
Methods
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 ]