Package ch.bailu.gtk.gobject
Class SignalInvocationHint
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gobject.SignalInvocationHint
- All Implemented Interfaces:
PointerInterface
The #GSignalInvocationHint structure is used to pass on additional information
to callbacks during a signal emission.
to callbacks during a signal emission.
https://docs.gtk.org/gobject/struct.SignalInvocationHint.html
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The detail passed on for this emissionstatic final String
The stage the signal emission is currently in, this
field will contain one of %G_SIGNAL_RUN_FIRST,
%G_SIGNAL_RUN_LAST or %G_SIGNAL_RUN_CLEANUP and %G_SIGNAL_ACCUMULATOR_FIRST_RUN.static final String
The signal id of the signal invoking the callback -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
int
The detail passed on for this emissionint
The stage the signal emission is currently in, this
field will contain one of %G_SIGNAL_RUN_FIRST,
%G_SIGNAL_RUN_LAST or %G_SIGNAL_RUN_CLEANUP and %G_SIGNAL_ACCUMULATOR_FIRST_RUN.int
The signal id of the signal invoking the callbackvoid
setFieldDetail
(int detail) The detail passed on for this emissionvoid
setFieldRunType
(int run_type) The stage the signal emission is currently in, this
field will contain one of %G_SIGNAL_RUN_FIRST,
%G_SIGNAL_RUN_LAST or %G_SIGNAL_RUN_CLEANUP and %G_SIGNAL_ACCUMULATOR_FIRST_RUN.void
setFieldSignalId
(int signal_id) The signal id of the signal invoking the callbackMethods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Field Details
-
SIGNAL_ID
The signal id of the signal invoking the callback- See Also:
-
DETAIL
The detail passed on for this emission- See Also:
-
RUN_TYPE
The stage the signal emission is currently in, this
field will contain one of %G_SIGNAL_RUN_FIRST,
%G_SIGNAL_RUN_LAST or %G_SIGNAL_RUN_CLEANUP and %G_SIGNAL_ACCUMULATOR_FIRST_RUN.
%G_SIGNAL_ACCUMULATOR_FIRST_RUN is only set for the first run of the accumulator
function for a signal emission.- See Also:
-
-
Constructor Details
-
SignalInvocationHint
-
SignalInvocationHint
public SignalInvocationHint()
-
-
Method Details
-
getClassHandler
-
setFieldSignalId
public void setFieldSignalId(int signal_id) The signal id of the signal invoking the callback -
getFieldSignalId
public int getFieldSignalId()The signal id of the signal invoking the callback -
setFieldDetail
public void setFieldDetail(int detail) The detail passed on for this emission -
getFieldDetail
public int getFieldDetail()The detail passed on for this emission -
setFieldRunType
public void setFieldRunType(int run_type) The stage the signal emission is currently in, this
field will contain one of %G_SIGNAL_RUN_FIRST,
%G_SIGNAL_RUN_LAST or %G_SIGNAL_RUN_CLEANUP and %G_SIGNAL_ACCUMULATOR_FIRST_RUN.
%G_SIGNAL_ACCUMULATOR_FIRST_RUN is only set for the first run of the accumulator
function for a signal emission. -
getFieldRunType
public int getFieldRunType()The stage the signal emission is currently in, this
field will contain one of %G_SIGNAL_RUN_FIRST,
%G_SIGNAL_RUN_LAST or %G_SIGNAL_RUN_CLEANUP and %G_SIGNAL_ACCUMULATOR_FIRST_RUN.
%G_SIGNAL_ACCUMULATOR_FIRST_RUN is only set for the first run of the accumulator
function for a signal emission.
-