package gobject-introspection

  1. Overview
  2. Docs
include module type of struct include GSignal end
type flags =
  1. | Run_first
    (*

    Invoke the object method handler in the first emission stage.

    *)
  2. | Run_last
    (*

    Invoke the object method handler in the third emission stage.

    *)
  3. | Run_cleanup
    (*

    Invoke the object method handler in the last emission stage.

    *)
  4. | 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.

    *)
  5. | Detailed
    (*

    This signal supports "::detail" appendices to the signal name upon handler connections and emissions.

    *)
  6. | 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.

    *)
  7. | No_hooks
    (*

    No emissions hooks are supported for this signal.

    *)
  8. | Must_collect
    (*

    Varargs signal emission will always collect the arguments, even if there are no signal handlers connected. Since 2.30.

    *)
  9. | 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.

    *)

Flags defined in the module Signals of the GObject library 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.

val string_of_flag : flags -> string
module Flags (T : Cstubs.Types.TYPE) : sig ... end