GSignalFlags

The signal flags are used to specify a signal's behaviour, the overall signal description outlines how especially the RUN flags control the stages of a signal emission. G_SIGNAL_RUN_FIRST Invoke the object method handler in the first emission stage. G_SIGNAL_RUN_LAST Invoke the object method handler in the third emission stage. G_SIGNAL_RUN_CLEANUP Invoke the object method handler in the last emission stage. G_SIGNAL_NO_RECURSE Signals being emitted for an object while currently being in emission for this very object will not be emitted recursively, but instead cause the first emission to be restarted. G_SIGNAL_DETAILED This signal supports "::detail" appendices to the signal name upon handler connections and emissions. G_SIGNAL_ACTION Action signals are signals that may freely be emitted on alive objects from user code via g_signal_emit() and friends, without the need of being embedded into extra code that performs pre or post emission adjustments on the object. They can also be thought of as object methods which can be called generically by third-party code. G_SIGNAL_NO_HOOKS No emissions hooks are supported for this signal.

Values

ValueMeaning
RUN_FIRST1 << 0
RUN_LAST1 << 1
RUN_CLEANUP1 << 2
NO_RECURSE1 << 3
DETAILED1 << 4
ACTION1 << 5
NO_HOOKS1 << 6

Meta