TickCallback


Description:

[ CCode ( instance_pos = 2.9 ) ]
public delegate bool TickCallback (Widget widget, FrameClock frame_clock)

Callback type for adding a function to update animations.

See add_tick_callback.

Parameters:

widget

the widget

frame_clock

the frame clock for the widget (same as calling get_frame_clock)

user_data

user data passed to add_tick_callback.

Returns:

g_source_continue if the tick callback should continue to be called, g_source_remove if the tick callback should be removed.


Namespace: Gtk
Package: gtk4