From 51b525524b420f9fbcf5a1c3ca2122c68ed0eacf Mon Sep 17 00:00:00 2001 From: Hans Dijkema Date: Thu, 7 Aug 2025 21:10:09 +0200 Subject: [PATCH] optional parameters? --- scribblings/columns-pane.scrbl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scribblings/columns-pane.scrbl b/scribblings/columns-pane.scrbl index 6013364..e08fabe 100644 --- a/scribblings/columns-pane.scrbl +++ b/scribblings/columns-pane.scrbl @@ -38,13 +38,13 @@ See also @racket[pane%]. [stretchable-height any/c #t])]{ } -@defmethod*[([(column-min-width (c column-index) [w dimenstion-integer?]) dimension-integer?])]{ +@defmethod*[([(column-min-width (c column-index) [w or/c dimenstion-integer?]) dimension-integer?])]{ Gets or sets the minimum width (in pixels) of the given column c. Returns the currently set minimum width for the given column. } -@defmethod*[([(column-align (c column-index) [align <- (or/c 'left 'center 'right)]) (or/c 'left 'center 'right)])]{ +@defmethod*[([(column-align (c column-index) [align (or/c 'left 'center 'right)]) (or/c 'left 'center 'right)])]{ Gets or sets the horizontal alignment of a given column c. Returns the currently set alignment. @@ -52,7 +52,7 @@ See also @racket[pane%]. Note. Use this right after declaring the columns pane and before adding any children. } -@defmethod*[([(column-keep-min-width (c column-index) [k boolean]) boolean?])]{ +@defmethod*[([(column-keep-min-width (c column-index) [k or/c boolean]) boolean?])]{ Gets or sets the keep minimal width parameter for a given column c. Returns the currently set value.