icon
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
webview-minimize
|
||||
webview-window-state
|
||||
webview-set-title!
|
||||
webview-set-icon!
|
||||
|
||||
webview-messagebox
|
||||
|
||||
@@ -658,6 +659,10 @@
|
||||
(-> wv-win? string? symbol?)
|
||||
(rkt-webview-set-title! (wv-win-handle wv) title))
|
||||
|
||||
(define/contract (webview-set-icon! wv icon-file)
|
||||
(-> wv-win? (or/c string? path?) symbol?)
|
||||
(rkt-webview-set-icon! (wv-win-handle wv) (format "~a" icon-file)))
|
||||
|
||||
(define/contract (webview-close wv)
|
||||
(-> wv-win? symbol?)
|
||||
(begin
|
||||
|
||||
Reference in New Issue
Block a user