Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.GObject.Structs.SignalQuery
Description
A structure holding in-depth information for a specific signal. It is
filled in by the signalQuery
function.
Synopsis
- newtype SignalQuery = SignalQuery (ManagedPtr SignalQuery)
- newZeroSignalQuery :: MonadIO m => m SignalQuery
- getSignalQueryItype :: MonadIO m => SignalQuery -> m GType
- setSignalQueryItype :: MonadIO m => SignalQuery -> GType -> m ()
- getSignalQueryNParams :: MonadIO m => SignalQuery -> m Word32
- setSignalQueryNParams :: MonadIO m => SignalQuery -> Word32 -> m ()
- getSignalQueryReturnType :: MonadIO m => SignalQuery -> m GType
- setSignalQueryReturnType :: MonadIO m => SignalQuery -> GType -> m ()
- getSignalQuerySignalFlags :: MonadIO m => SignalQuery -> m [SignalFlags]
- setSignalQuerySignalFlags :: MonadIO m => SignalQuery -> [SignalFlags] -> m ()
- getSignalQuerySignalId :: MonadIO m => SignalQuery -> m Word32
- setSignalQuerySignalId :: MonadIO m => SignalQuery -> Word32 -> m ()
- clearSignalQuerySignalName :: MonadIO m => SignalQuery -> m ()
- getSignalQuerySignalName :: MonadIO m => SignalQuery -> m (Maybe Text)
- setSignalQuerySignalName :: MonadIO m => SignalQuery -> CString -> m ()
Exported types
newtype SignalQuery Source #
Memory-managed wrapper type.
Constructors
SignalQuery (ManagedPtr SignalQuery) |
Instances
Eq SignalQuery Source # | |
Defined in GI.GObject.Structs.SignalQuery | |
CallocPtr SignalQuery Source # | |
Defined in GI.GObject.Structs.SignalQuery Methods boxedPtrCalloc :: IO (Ptr SignalQuery) # | |
BoxedPtr SignalQuery Source # | |
Defined in GI.GObject.Structs.SignalQuery | |
ManagedPtrNewtype SignalQuery Source # | |
Defined in GI.GObject.Structs.SignalQuery Methods | |
tag ~ 'AttrSet => Constructible SignalQuery tag Source # | |
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
Overloaded 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 ]