Interface SignalFlags


public interface SignalFlags
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Only used in #GSignalAccumulator accumulator
    functions for the #GSignalInvocationHint::run_type field to mark the first
    call to the accumulator function for a signal emission.
    static final int
    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.
    static final int
    The signal is deprecated and will be removed
    in a future version.
    static final int
    This signal supports "::detail" appendices to the signal name
    upon handler connections and emissions.
    static final int
    Varargs signal emission will always collect the
    arguments, even if there are no signal handlers connected.
    static final int
    No emissions hooks are supported for this signal.
    static final int
    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.
    static final int
    Invoke the object method handler in the last emission stage.
    static final int
    Invoke the object method handler in the first emission stage.
    static final int
    Invoke the object method handler in the third emission stage.
  • Field Details

    • RUN_FIRST

      static final int RUN_FIRST
      Invoke the object method handler in the first emission stage.
      See Also:
    • RUN_LAST

      static final int RUN_LAST
      Invoke the object method handler in the third emission stage.
      See Also:
    • RUN_CLEANUP

      static final int RUN_CLEANUP
      Invoke the object method handler in the last emission stage.
      See Also:
    • NO_RECURSE

      static final int 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.
      See Also:
    • DETAILED

      static final int DETAILED
      This signal supports "::detail" appendices to the signal name
      upon handler connections and emissions.
      See Also:
    • ACTION

      static final int 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.
      See Also:
    • NO_HOOKS

      static final int NO_HOOKS
      No emissions hooks are supported for this signal.
      See Also:
    • MUST_COLLECT

      static final int MUST_COLLECT
      Varargs signal emission will always collect the
      arguments, even if there are no signal handlers connected. Since 2.30.
      See Also:
    • DEPRECATED

      static final int DEPRECATED
      The signal is deprecated and will be removed
      in a future version. A warning will be generated if it is connected while
      running with G_ENABLE_DIAGNOSTIC=1. Since 2.32.
      See Also:
    • ACCUMULATOR_FIRST_RUN

      static final int ACCUMULATOR_FIRST_RUN
      Only used in #GSignalAccumulator accumulator
      functions for the #GSignalInvocationHint::run_type field to mark the first
      call to the accumulator function for a signal emission. Since 2.68.
      See Also: