struct

Tryst::AfterHandle

Inherits Struct < Value < Object

A pending Tcl after command: its Tcl after-id, plus the callback id registered to run when it fires, so App#after_cancel can release both. #to_s is the bare after-id, so a handle drops straight into a Tcl script - "after cancel #{handle}".

Constructors

new(tcl_id : String, cb_id : String | Nil = nil)
Source

Instance methods

cb_id
clone
Source
copy_with(tcl_id _tcl_id = @tcl_id, cb_id _cb_id = @cb_id)
Source
tcl_id
to_s(io : IO) : Nil

Same as #inspect(io).

Source