Package ch.bailu.gtk.gtk
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.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanonTickCallback(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 widgetframe_clock- the frame clock for the widgetuser_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
-