Search found 1 match
- Tue Dec 21, 2010 10:15 am
- Forum: Emacs Lisp
- Topic: How to use a variable as widget item?
- Replies: 0
- Views: 6850
How to use a variable as widget item?
I'm trying to create a "dynamic" widget, the following code works fine: (widget-create 'radio-button-choice :value "One" :notify (lambda (widget &rest ignore) (message "You selected %s" (widget-value widget))) '(item "One") '(item "Two") '(item &...