mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Make clear in doc that signals are emitted synchroniously
This commit is contained in:
committed by
Sebastian Dröge
parent
eefba53845
commit
28d833a075
@@ -3117,7 +3117,8 @@ g_signal_has_handler_pending (gpointer instance,
|
||||
* store the return value of the signal emission. This must be provided if the
|
||||
* specified signal returns a value, but may be ignored otherwise.
|
||||
*
|
||||
* Emits a signal.
|
||||
* Emits a signal. Signal emission is done synchronously.
|
||||
* The method will only return control after all handlers are called or signal emission was stopped.
|
||||
*
|
||||
* Note that g_signal_emitv() doesn't change @return_value if no handlers are
|
||||
* connected, in contrast to g_signal_emit() and g_signal_emit_valist().
|
||||
@@ -3255,7 +3256,8 @@ accumulate (GSignalInvocationHint *ihint,
|
||||
* location for the return value. If the return type of the signal
|
||||
* is #G_TYPE_NONE, the return value location can be omitted.
|
||||
*
|
||||
* Emits a signal.
|
||||
* Emits a signal. Signal emission is done synchronously.
|
||||
* The method will only return control after all handlers are called or signal emission was stopped.
|
||||
*
|
||||
* Note that g_signal_emit_valist() resets the return value to the default
|
||||
* if no handlers are connected, in contrast to g_signal_emitv().
|
||||
@@ -3534,7 +3536,8 @@ g_signal_emit_valist (gpointer instance,
|
||||
* location for the return value. If the return type of the signal
|
||||
* is #G_TYPE_NONE, the return value location can be omitted.
|
||||
*
|
||||
* Emits a signal.
|
||||
* Emits a signal. Signal emission is done synchronously.
|
||||
* The method will only return control after all handlers are called or signal emission was stopped.
|
||||
*
|
||||
* Note that g_signal_emit() resets the return value to the default
|
||||
* if no handlers are connected, in contrast to g_signal_emitv().
|
||||
@@ -3561,7 +3564,8 @@ g_signal_emit (gpointer instance,
|
||||
* is %G_TYPE_NONE, the return value location can be omitted. The
|
||||
* number of parameters to pass to this function is defined when creating the signal.
|
||||
*
|
||||
* Emits a signal.
|
||||
* Emits a signal. Signal emission is done synchronously.
|
||||
* The method will only return control after all handlers are called or signal emission was stopped.
|
||||
*
|
||||
* Note that g_signal_emit_by_name() resets the return value to the default
|
||||
* if no handlers are connected, in contrast to g_signal_emitv().
|
||||
|
@@ -497,7 +497,7 @@ void g_signal_chain_from_overridden_handler (gpointer instance,
|
||||
*
|
||||
* Connects a #GCallback function to a signal for a particular object.
|
||||
*
|
||||
* The handler will be called before the default handler of the signal.
|
||||
* The handler will be called synchronously, before the default handler of the signal. g_signal_emit() will not return control until all handlers are called.
|
||||
*
|
||||
* See [memory management of signal handlers][signal-memory-management] for
|
||||
* details on how to handle the return value and memory management of @data.
|
||||
@@ -515,7 +515,7 @@ void g_signal_chain_from_overridden_handler (gpointer instance,
|
||||
*
|
||||
* Connects a #GCallback function to a signal for a particular object.
|
||||
*
|
||||
* The handler will be called after the default handler of the signal.
|
||||
* The handler will be called synchronously, after the default handler of the signal.
|
||||
*
|
||||
* Returns: the handler ID, of type #gulong (always greater than 0 for successful connections)
|
||||
*/
|
||||
|
Reference in New Issue
Block a user