Hi Peter,
thank you for your answer. Now that you point me into the right direction, I am able to see ... :-)
3.11 Generic functions The following generic functions are defined on widgets: (value widget) Reads/sets the value of the widget. Applicable for: check-button, radio-button, menucheckbutton, menuradiobutton, scale. (text widget) Reads/sets the text of the widget. Depending on the wid- get, this can be text displayed on the widget (button) or contained as data (entry). Applicable for button, check-button, entry, label, labelframe, spinbox, text.
I actually must have overseen this paragraph. I always searched for this info where the functions were documented.
Now I can proceed.
Thanks a lot, Bernhard
There is some Ltk documentation on the Ltk webpage (actually it even mentions the answer to your question...) but I have to agree that I could spend more time on it eventually. In general, all widgets where it is appropriate, either have the (settable) accessor "text" or "value", so for entries you can just read/set it with (text entry) assuming entry is your widget instance. All the widgets which inherit from tktextvariable have the text accessor, those who inherit from the tkvariable class have the value accessor.
Peter _______________________________________________ ltk-user site list ltk-user@common-lisp.net http://common-lisp.net/mailman/listinfo/ltk-user