gi-gobject-2.0.21: GObject 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.GObject.Structs.SignalQuery

Contents

Description

A structure holding in-depth information for a specific signal. It is filled in by the signalQuery function.

Synopsis

Exported types

newZeroSignalQuery :: MonadIO m => m SignalQuery Source #

Construct a SignalQuery struct initialized to zero.

Properties

itype

The interface/instance type that this signal can be emitted for.

getSignalQueryItype :: MonadIO m => SignalQuery -> m GType Source #

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

get signalQuery #itype

setSignalQueryItype :: MonadIO m => SignalQuery -> GType -> m () Source #

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

set signalQuery [ #itype := value ]

nParams

The number of parameters that user callbacks take.

getSignalQueryNParams :: MonadIO m => SignalQuery -> m Word32 Source #

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

get signalQuery #nParams

setSignalQueryNParams :: MonadIO m => SignalQuery -> Word32 -> m () Source #

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

set signalQuery [ #nParams := value ]

returnType

The return type for user callbacks.

getSignalQueryReturnType :: MonadIO m => SignalQuery -> m GType Source #

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

get signalQuery #returnType

setSignalQueryReturnType :: MonadIO m => SignalQuery -> GType -> m () Source #

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

set signalQuery [ #returnType := value ]

signalFlags

The signal flags as passed in to g_signal_new().

getSignalQuerySignalFlags :: MonadIO m => SignalQuery -> m [SignalFlags] Source #

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

get signalQuery #signalFlags

setSignalQuerySignalFlags :: MonadIO m => SignalQuery -> [SignalFlags] -> m () Source #

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

set signalQuery [ #signalFlags := value ]

signalId

The signal id of the signal being queried, or 0 if the signal to be queried was unknown.

getSignalQuerySignalId :: MonadIO m => SignalQuery -> m Word32 Source #

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

get signalQuery #signalId

setSignalQuerySignalId :: MonadIO m => SignalQuery -> Word32 -> m () Source #

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

set signalQuery [ #signalId := value ]

signalName

The signal name.

clearSignalQuerySignalName :: MonadIO m => SignalQuery -> m () Source #

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

clear #signalName

getSignalQuerySignalName :: MonadIO m => SignalQuery -> m (Maybe Text) Source #

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

get signalQuery #signalName

setSignalQuerySignalName :: MonadIO m => SignalQuery -> CString -> m () Source #

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

set signalQuery [ #signalName := value ]