TickCallback
Description:
[ CCode ( instance_pos = 2.9 ) ]
public delegate bool TickCallback (Widget widget, FrameClock frame_clock)
public delegate bool TickCallback (Widget widget, FrameClock frame_clock)
Callback type for adding a function to update animations.
See [method@Gtk.Widget.add_tick_callback].
Parameters:
widget |
the widget |
frame_clock |
the frame clock for the widget |
user_data |
user data passed to [method@Gtk.Widget.add_tick_callback]. |
Returns:
`G_SOURCE_CONTINUE` if the tick callback should continue to be called, `G_SOURCE_REMOVE` if it should be removed |
Namespace: Gtk
Package: gtk4