![]() |
![]() |
![]() |
GObject Introspection Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#define GI_IS_SIGNAL_INFO (info) typedef GISignalInfo; GSignalFlags g_signal_info_get_flags (GISignalInfo *info
); GIVFuncInfo * g_signal_info_get_class_closure (GISignalInfo *info
); gboolean g_signal_info_true_stops_emit (GISignalInfo *info
);
GISignalInfo represents a signal. It's a sub-struct of GICallableInfo and contains a set of flags and a class closure.
See GICallableInfo for information on how to retreive arguments and other metadata from the signal.
GIBaseInfo +----GICallableInfo +----GIFunctionInfo +----GISignalInfo +----GIVFuncInfo
GSignalFlags g_signal_info_get_flags (GISignalInfo *info
);
Obtain the flags for this signal info. See GSignalFlags for more information about possible flag values.
|
a GISignalInfo |
Returns : |
the flags |
GIVFuncInfo * g_signal_info_get_class_closure (GISignalInfo *info
);
Obtain the class closure for this signal if one is set. The class
closure is a virtual function on the type that the signal belongs to.
If the signal lacks a closure NULL
will be returned.
|
a GISignalInfo |
Returns : |
the class closure or NULL . [transfer full]
|
gboolean g_signal_info_true_stops_emit (GISignalInfo *info
);
Obtain if the returning true in the signal handler will stop the emission of the signal.
|
a GISignalInfo |
Returns : |
TRUE if returning true stops the signal emission
|