Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
SignalQuery (ManagedPtr SignalQuery) |
Instances
Eq SignalQuery Source # | |
Defined in GI.GObject.Structs.SignalQuery (==) :: SignalQuery -> SignalQuery -> Bool # (/=) :: SignalQuery -> SignalQuery -> Bool # | |
BoxedPtr SignalQuery Source # | |
Defined in GI.GObject.Structs.SignalQuery boxedPtrCopy :: SignalQuery -> IO SignalQuery boxedPtrFree :: SignalQuery -> IO () | |
CallocPtr SignalQuery Source # | |
Defined in GI.GObject.Structs.SignalQuery boxedPtrCalloc :: IO (Ptr SignalQuery) | |
ManagedPtrNewtype SignalQuery Source # | |
Defined in GI.GObject.Structs.SignalQuery toManagedPtr :: SignalQuery -> ManagedPtr SignalQuery | |
tag ~ 'AttrSet => Constructible SignalQuery tag Source # | |
Defined in GI.GObject.Structs.SignalQuery 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 ]