Hi,
after creating a ltk window with the following code:
(ltk:with-ltk ()
(let ((c (make-instance 'ltk:canvas :width 500 :height 500)))
(ltk:pack c)
(let ((txt (ltk:create-text c 200 100 "lorem ipsum dolor sit amet consectetur adipiscing elit"))))))
Is there a way to change the text in the textbox from the outside?
Storing the canvas instance in a global variable and using
#'ltk:itemconfigure on it doesn't work.
I'd like to somehow hook into the main loop in order to change items
from the lisp process outside of the with-ltk within the ltk context,
like calling an event queue or sending events to the wish event
handler which triggers the execution of functions within the ltk
context.
Any help is appreciated!
--
Orm