CreateTimerDialog
- Parameters
-
t timer
connect the timer dialog to this timer, it'll always follow its "time remaining".
- comment
Creates a new timer dialog based on the underlying timer. It is hidden by default and has "Remaining" as title (localized).
Timer dialog works as a visible countdown timer in the format: "Title hh:mm:ss".
Since this creates an object and returns a handle, it must be freed when no longer needed with
DestroyTimerDialog
.- note
(v1.32.10, Lua) If
t
is nil then the dialog is still created, but will never show any time.Alternatively, you can set the visible time with
TimerDialogSetRealTimeRemaining
.- patch
1.00
- Source
- common.j
- return type
timerdialog
- Source code
native CreateTimerDialog takes timer t returns timerdialog