From fb2a5cbc091ed1f41091312df370677724dba39f Mon Sep 17 00:00:00 2001 From: Ken Harris Date: Tue, 31 Oct 2023 19:55:25 +0000 Subject: [PATCH] Update slider-class.scrbl Fix two argument names. Also, a non-increasing range (like 0 to 0) is allowed. --- gui-doc/scribblings/gui/slider-class.scrbl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui-doc/scribblings/gui/slider-class.scrbl b/gui-doc/scribblings/gui/slider-class.scrbl index a851d8123..711336496 100644 --- a/gui-doc/scribblings/gui/slider-class.scrbl +++ b/gui-doc/scribblings/gui/slider-class.scrbl @@ -45,8 +45,8 @@ If @racket[label] is a string, it is used as the label for the slider. The @racket[min-value] and @racket[max-value] arguments specify the range of the slider, inclusive. The @racket[init-value] argument optionally specifies the slider's initial value. If the sequence - [@racket[min-value], @racket[initial-value], @racket[maximum-value]] - is not increasing, @|MismatchExn|. + [@racket[min-value], @racket[init-value], @racket[max-value]] + is not non-decreasing, @|MismatchExn|. The @racket[callback] procedure is called (with the event type @indexed-racket['slider]) when the user changes the slider's value.