SetTickHook

Prototype: GemRB.SetTickHook (callback)

Description: Set callback to be called every main loop iteration. This is useful for things like running a twisted reactor.

Parameters:

  • callback - python function to run

Return value: N/A


Back to function index, GUIScript introduction.