cl-tk

API Reference

cl-tk

Minimal bridge to Tcl/Tk

CL-TK

  • Condition TCL-ERROR  (SIMPLE-ERROR)
  • Function TCL-ERROR (control &rest args)
  • Variable *TK*
  • Function UNREGISTER-EVENT (id)
  • Function EVENT-HANDLER (func &optional (fields nil))
  • Macro EVENT-HANDLER* (&body body)
  • Macro BIND-EVENT (tag event (&rest fields) &body body)
    For example (bind-event "." "<1>" ((x #x) (y #y)) (format t "clicked ~a,~a" x y))
  • Function EVENT-SNAPSHOT
  • Function CLEAR-EVENTS (snapshot)
  • Macro WITH-LOCAL-EVENTS (&body body)
  • Function DESTROY
  • Function ALIVE-P
  • Function DOEVENT (&optional block)
  • Function DOEVENTS
  • Function MAINLOOP
  • Function TCL-ESCAPE (str)
  • Function LIT (val)
  • Function TCL[ (command &rest args)
  • Function TCL{ (command &rest args)
  • Function TCL (command &rest args)
  • Function WNAME-CONS (name base)
  • Function WNAME-CAR (name)
  • Function WNAME-CDR (name)
  • Variable *WNAME*
    "."
  • Macro WITH-WNAME (name &body body)
  • Function WNAME (name &optional id)
  • Macro WITH-TK ((&optional back-end) &body body)
  • Function TOPLEVEL-TK (&optional back-end)
  • Class WISH-TK  (TK)
    STREAM   Reader: @STREAM
    BINARY   Reader: @BINARY
    QUEUE   Accessor: @QUEUE
    ALIVE   Accessor: @ALIVE
  • Class FFI-TK  (TK)
    INTERP   Reader: @INTERP
    ALIVE   Accessor: @ALIVE