gi-gtk-3.0.37: Gtk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gtk.Structs.BindingSignal

Description

A GtkBindingSignal stores the necessary information to activate a widget in response to a key press via a signal emission.

Synopsis

Exported types

newtype BindingSignal Source #

Memory-managed wrapper type.

Constructors

BindingSignal (ManagedPtr BindingSignal) 

Instances

Instances details
Eq BindingSignal Source # 
Instance details

Defined in GI.Gtk.Structs.BindingSignal

BoxedPtr BindingSignal Source # 
Instance details

Defined in GI.Gtk.Structs.BindingSignal

CallocPtr BindingSignal Source # 
Instance details

Defined in GI.Gtk.Structs.BindingSignal

ManagedPtrNewtype BindingSignal Source # 
Instance details

Defined in GI.Gtk.Structs.BindingSignal

Methods

toManagedPtr :: BindingSignal -> ManagedPtr BindingSignal

tag ~ 'AttrSet => Constructible BindingSignal tag Source # 
Instance details

Defined in GI.Gtk.Structs.BindingSignal

Methods

new :: MonadIO m => (ManagedPtr BindingSignal -> BindingSignal) -> [AttrOp BindingSignal tag] -> m BindingSignal

newZeroBindingSignal :: MonadIO m => m BindingSignal Source #

Construct a BindingSignal struct initialized to zero.

Methods

Properties

nArgs

number of arguments specified for the signal

getBindingSignalNArgs :: MonadIO m => BindingSignal -> m Word32 Source #

Get the value of the “n_args” field. When overloading is enabled, this is equivalent to

get bindingSignal #nArgs

setBindingSignalNArgs :: MonadIO m => BindingSignal -> Word32 -> m () Source #

Set the value of the “n_args” field. When overloading is enabled, this is equivalent to

set bindingSignal [ #nArgs := value ]

next

implementation detail

clearBindingSignalNext :: MonadIO m => BindingSignal -> m () Source #

Set the value of the “next” field to Nothing. When overloading is enabled, this is equivalent to

clear #next

getBindingSignalNext :: MonadIO m => BindingSignal -> m (Maybe BindingSignal) Source #

Get the value of the “next” field. When overloading is enabled, this is equivalent to

get bindingSignal #next

setBindingSignalNext :: MonadIO m => BindingSignal -> Ptr BindingSignal -> m () Source #

Set the value of the “next” field. When overloading is enabled, this is equivalent to

set bindingSignal [ #next := value ]

signalName

the action signal to be emitted

clearBindingSignalSignalName :: MonadIO m => BindingSignal -> m () Source #

Set the value of the “signal_name” field to Nothing. When overloading is enabled, this is equivalent to

clear #signalName

getBindingSignalSignalName :: MonadIO m => BindingSignal -> m (Maybe Text) Source #

Get the value of the “signal_name” field. When overloading is enabled, this is equivalent to

get bindingSignal #signalName

setBindingSignalSignalName :: MonadIO m => BindingSignal -> CString -> m () Source #

Set the value of the “signal_name” field. When overloading is enabled, this is equivalent to

set bindingSignal [ #signalName := value ]