Bring test code back in original state.
This commit is contained in:
@@ -455,6 +455,7 @@
|
|||||||
(ww-set-icon win-id icn))
|
(ww-set-icon win-id icn))
|
||||||
|
|
||||||
(define/public (set-html-file! file)
|
(define/public (set-html-file! file)
|
||||||
|
(ww-debug (format "set-html-file! ~a" file))
|
||||||
(set! html-file file)
|
(set! html-file file)
|
||||||
(set! html-handle (ww-set-html win-id html-file))
|
(set! html-handle (ww-set-html win-id html-file))
|
||||||
(ww-debug (format "html file set to ~a" html-file))
|
(ww-debug (format "html file set to ~a" html-file))
|
||||||
@@ -640,12 +641,12 @@
|
|||||||
(define/override (html-loaded)
|
(define/override (html-loaded)
|
||||||
(ww-debug "HTML LOADED")
|
(ww-debug "HTML LOADED")
|
||||||
(super html-loaded)
|
(super html-loaded)
|
||||||
;(let* ((btn (send this element 'app-button)))
|
(let* ((btn (send this element 'app-button)))
|
||||||
; (send btn connect 'click (λ (data)
|
(send btn connect 'click (λ (data)
|
||||||
; (new test-dialog% [parent this]))))
|
(new test-dialog% [parent this]))))
|
||||||
;(ww-debug "SETTING MENU")
|
(ww-debug "SETTING MENU")
|
||||||
;(send this set-menu! test-menu)
|
(send this set-menu! test-menu)
|
||||||
;(send this connect-menu! 'm-quit (λ () (send this close)))
|
(send this connect-menu! 'm-quit (λ () (send this close)))
|
||||||
)
|
)
|
||||||
|
|
||||||
(begin
|
(begin
|
||||||
|
|||||||
Reference in New Issue
Block a user