Class SignalInvocationHint

All Implemented Interfaces:
PointerInterface

public class SignalInvocationHint extends Record
The #GSignalInvocationHint structure is used to pass on additional information
to callbacks during a signal emission.

https://docs.gtk.org/gobject/struct.SignalInvocationHint.html

  • Field Details

    • SIGNAL_ID

      public static final String SIGNAL_ID
      The signal id of the signal invoking the callback
      See Also:
    • DETAIL

      public static final String DETAIL
      The detail passed on for this emission
      See Also:
    • RUN_TYPE

      public static final String 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

      public SignalInvocationHint(PointerContainer pointer)
    • SignalInvocationHint

      public SignalInvocationHint()
  • Method Details

    • getClassHandler

      public static ClassHandler 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.