class
UIng::Timer
- UIng::Timer
- Reference
- Object
Overview
A repeating UI timer. #stop prevents further user callbacks immediately;
libui-ng removes its native timer when the next tick returns zero.
Defined in:
uing/timer.crInstance Method Summary
-
#stop : Nil
Stops future user callbacks.
-
#stopped? : Bool
Whether the timer has been stopped explicitly, by returning
false, by a callback error, or byUIng.uninit.
Instance Method Detail
def stop : Nil
#
Stops future user callbacks. Call on the UI thread; it is safe to call this inside the callback.
def stopped? : Bool
#
Whether the timer has been stopped explicitly, by returning false, by
a callback error, or by UIng.uninit.