Schnittstelle Widget.OnTickCallback

Umschließende Klasse:
Widget
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface Widget.OnTickCallback
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    onTickCallback(CallbackHandler __self, Widget widget, FrameClock frame_clock, Pointer user_data)
    Callback type for adding a function to update animations.
  • Methodendetails

    • onTickCallback

      boolean onTickCallback(CallbackHandler __self, @Nonnull Widget widget, @Nonnull FrameClock frame_clock, @Nullable Pointer user_data)
      Callback type for adding a function to update animations.

      See [method@Gtk.Widget.add_tick_callback].
      Parameter:
      widget - the widget
      frame_clock - the frame clock for the widget
      user_data - user data passed to [method@Gtk.Widget.add_tick_callback].
      Gibt zurück:
      `G_SOURCE_CONTINUE` if the tick callback should continue to be called, `G_SOURCE_REMOVE` if it should be removed