Added select support.
This commit is contained in:
@@ -235,6 +235,17 @@
|
||||
(send this update-counter)
|
||||
(send this set-folder my-dir)
|
||||
|
||||
(when (eq? my-page 'first)
|
||||
(let ((language-select
|
||||
(send this element 'sel-lang)))
|
||||
(send language-select
|
||||
on-change!
|
||||
(λ (value)
|
||||
(displayln
|
||||
(format
|
||||
"Selected language: ~a"
|
||||
(send language-select get)))))))
|
||||
|
||||
(ww-debug "CONNECTING BUTTONS")
|
||||
(send this bind! 'dialog-button 'click (λ (el evt data)
|
||||
(send this prefs)))
|
||||
|
||||
Reference in New Issue
Block a user