[ltk-user] :textvariable

Pedro Kröger pedro.kroger at gmail.com
Sat Oct 31 05:25:09 UTC 2009


Hi,

I get an error if I try to use a :textvariable in a label:

(with-ltk ()
  (let ((foo ""))
   (make-instance 'label :textvariable foo)))

  Invalid initialization argument:
    :TEXTVARIABLE

In fact, when I expand the code to create a label class in ltk.lisp I
see that there's no :textvariable key:

(defwidget label (tktextvariable widget) () "label")

And the textvariable that is being generated is text_<value of :text>.

Any chance this can be fixed in the next release?

Cheers,

Pedro




More information about the ltk-user mailing list