Hi,

it's easy to use on-demand-selector. Untested sketch:


(defwidget test-selector (on-demand-selector)
  nil
  (:default-initargs :lookup-function #'test-selector-lookup))

(defun test-selector-lookup (selector tokens)
  (format t "test selector ~S got tokens ~S~%" selector tokens))

(defun init-user-session (root)
  (setf (widget-children root) (list (make-instance 'test-selector)))

-- 
You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/weblocks?hl=en.

Reply via email to