Package org.gnome.gobject
Enum Class SignalFlags
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<SignalFlags>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum SignalFlags
extends Enum<SignalFlags>
implements Enumeration
The signal flags are used to specify a signal's behaviour.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionOnly used inGSignalAccumulator
accumulator functions for theGSignalInvocationHint
::run_type field to mark the first call to the accumulator function for a signal emission.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.The signal is deprecated and will be removed in a future version.This signal supports "::detail" appendices to the signal name upon handler connections and emissions.Varargs signal emission will always collect the arguments, even if there are no signal handlers connected.No emissions hooks are supported for this signal.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.Invoke the object method handler in the last emission stage.Invoke the object method handler in the first emission stage.Invoke the object method handler in the third emission stage. -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
Get the numeric value of this enumstatic SignalFlags
of
(int value) Create a new SignalFlags for the provided valuestatic SignalFlags
Returns the enum constant of this class with the specified name.static SignalFlags[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RUN_FIRST
Invoke the object method handler in the first emission stage. -
RUN_LAST
Invoke the object method handler in the third emission stage. -
RUN_CLEANUP
Invoke the object method handler in the last emission stage. -
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. -
DETAILED
This signal supports "::detail" appendices to the signal name upon handler connections and emissions. -
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. -
NO_HOOKS
No emissions hooks are supported for this signal. -
MUST_COLLECT
Varargs signal emission will always collect the arguments, even if there are no signal handlers connected. Since 2.30. -
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. -
ACCUMULATOR_FIRST_RUN
Only used inGSignalAccumulator
accumulator functions for theGSignalInvocationHint
::run_type field to mark the first call to the accumulator function for a signal emission. Since 2.68.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
Create a new SignalFlags for the provided value- Parameters:
value
- the bitfield value- Returns:
- the bitfield for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-