Hi.
I try to set a label slot-value 'text but I get error that slot text is missing ? (setf (slot-value a-label 'text) "a")
Why would you want to do such a thing? As a rule of thumb, *never* use slot-value unless your really know that you have to do it. *Always* use the proper accessors. In the case of label (and any other LTk widget that displays text) use (setf (text a-label) "foo") to set the content. Equally the (text a-widget) would be used to read the text for widgets which allow the input of text.
Peter
On Mon, Aug 8, 2011 at 6:40 PM, Haris Bogdanovich fbogdanovic@xnet.hr wrote:
Hi.
I try to set a label slot-value 'text but I get error that slot text is missing ? (setf (slot-value a-label 'text) "a") _______________________________________________ ltk-user site list ltk-user@common-lisp.net http://common-lisp.net/mailman/listinfo/ltk-user