add missing default arg value to close-icon% docs

original commit: b1ecffe26214c853445a4ad0e2fccba995ddd971
This commit is contained in:
Robby Findler 2011-09-20 11:05:00 -05:00
parent b250603a14
commit 2659e1049e

View File

@ -11,7 +11,7 @@ provides a clickable close button icon.}
@defclass[close-icon% canvas% ()]{
@defconstructor[([parent (is-a? area-container<%>)]
[callback (-> any) void]
[bg-color (or/c #f string (is-a?/c color%))]
[bg-color (or/c #f string (is-a?/c color%)) #f]
[horizontal-pad positive-integer? 4]
[vertical-pad positive-integer? 4])]{
The @racket[callback] is called when the close icon is clicked.