This commit is contained in:
2026-02-17 12:01:44 +01:00
parent b29f53c722
commit d10f9a3b40
2 changed files with 5 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
#lang info
(define pkg-authors '(hnmdijkema))
(define version "0.2.1")
(define version "0.2.2")
(define license 'MIT)
(define collection "web-racket")
(define pkg-desc "web-racket - A Web Based GUI library, based on webui-wire")

View File

@@ -94,12 +94,8 @@ does not change the remote log level of @tt{webui-wire}; for that, use
@racket[ww-log-level].
}
@defform[(ww-debug msg-expr)
#:contracts ([msg-expr any/c])]
@defform[(ww-debug id-expr msg-expr)
#:contracts ([id-expr any/c] [msg-expr any/c])]{
@defform*[[(ww-debug msg-expr) #:contracts ([msg-expr any/c])
(ww-debug id-expr msg-expr) #:contracts ([id-expr any/c] [msg-expr any/c])]]{
Debug logging macros used inside the module.
When @racket[ww-set-debug] has been enabled, these macros:
@@ -112,12 +108,8 @@ When @racket[ww-set-debug] has been enabled, these macros:
They are primarily intended for development and diagnostics.
}
@defform[(ww-error msg-expr)
#:contracts ([msg-expr any/c])]
@defform[(ww-error id-expr msg-expr)
#:contracts ([id-expr any/c] [msg-expr any/c])]{
@defform*[[(ww-error msg-expr) #:contracts ([msg-expr any/c])
(ww-error id-expr msg-expr) #:contracts ([id-expr any/c] [msg-expr any/c])]]{
Error logging macros.
These always log, regardless of the debug flag, and are used for
@@ -267,11 +259,6 @@ The internal @racket[id] field corresponds to the numeric window id
used by the @tt{webui-wire} backend.
}
@defproc[(ww-win-id [win ww-win?]) exact-integer?]{
Accessor for the underlying numeric id of a @racket[ww-win] struct.
}
@defproc[(ww-new
[profile symbol?]
[use-browser boolean?]