Skip to content

Commit

Permalink
Update slider-class.scrbl
Browse files Browse the repository at this point in the history
Fix two argument names.

Also, a non-increasing range (like 0 to 0) is allowed.
  • Loading branch information
kengruven authored Oct 31, 2023
1 parent a4f3070 commit fb2a5cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui-doc/scribblings/gui/slider-class.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fb2a5cb

Please sign in to comment.