TickCallback

typealias TickCallback = (widget: Widget, <Error class: unknown class>) -> Boolean

Callback type for adding a function to update animations. See gtk_widget_add_tick_callback().

  • param widget the widget

  • param frameClock the frame clock for the widget (same as calling gtk_widget_get_frame_clock())

  • return %G_SOURCE_CONTINUE if the tick callback should continue to be called, %G_SOURCE_REMOVE if the tick callback should be removed.