[ltk-user] :textvariable

Peter Herth herth at peter-herth.de
Sun Nov 1 13:44:10 UTC 2009


Hi Pedro,

can you tell me why you want to specify the name of the text variable
for labels?

Regards,
Peter

On Sat, Oct 31, 2009 at 6:25 AM, Pedro Kröger <pedro.kroger at gmail.com> wrote:
>
> 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
>
> _______________________________________________
> ltk-user site list
> ltk-user at common-lisp.net
> http://common-lisp.net/mailman/listinfo/ltk-user
>




More information about the ltk-user mailing list