gi-gtk-3.0.31: Gtk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Structs.BindingSignal

Contents

Description

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

Synopsis

Exported types

newZeroBindingSignal :: MonadIO m => m BindingSignal Source #

Construct a BindingSignal struct initialized to zero.

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 ]