gi-gobject-2.0.26: GObject bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GObject.Structs.SignalQuery

Description

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

Synopsis

Exported types

newtype SignalQuery Source #

Memory-managed wrapper type.

Constructors

SignalQuery (ManagedPtr SignalQuery) 

Instances

Instances details
Eq SignalQuery Source # 
Instance details

Defined in GI.GObject.Structs.SignalQuery

BoxedPtr SignalQuery Source # 
Instance details

Defined in GI.GObject.Structs.SignalQuery

CallocPtr SignalQuery Source # 
Instance details

Defined in GI.GObject.Structs.SignalQuery

ManagedPtrNewtype SignalQuery Source # 
Instance details

Defined in GI.GObject.Structs.SignalQuery

Methods

toManagedPtr :: SignalQuery -> ManagedPtr SignalQuery

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

Defined in GI.GObject.Structs.SignalQuery

Methods

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

newZeroSignalQuery :: MonadIO m => m SignalQuery Source #

Construct a SignalQuery struct initialized to zero.

Methods

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 ]