[ltk-user] validatecommand

Vitaŭt Bajaryn vitaut.bayaryn at gmail.com
Tue Jun 12 19:07:21 UTC 2012


How can I return a value from a validatecommand?
(defparameter *y* (make-instance 'entry :grid '(0 0) :validate :key))
(configure *y* :validatecommand #'(lambda (&rest args) (print args)
(print (text *y*)) t))
(mainloop)
When I change the entry, I get 'Error: expected boolean value but got "" ...'




More information about the ltk-user mailing list