Schnittstelle FrameClock.OnUpdate

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

@FunctionalInterface public static interface FrameClock.OnUpdate
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    Emitted as the first step of toolkit and application processing
    of the frame.
  • Methodendetails

    • onUpdate

      void onUpdate()
      Emitted as the first step of toolkit and application processing
      of the frame.

      Animations should be updated using [method@Gdk.FrameClock.get_frame_time].
      Applications can connect directly to this signal, or use
      [gtk_widget_add_tick_callback()](../gtk4/method.Widget.add_tick_callback.html)
      as a more convenient interface.