racket/collects/embedded-gui/scribblings/embedded-text-button.scrbl
Eli Barzilay debd1f9f1e Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00

14 lines
332 B
Racket

#lang scribble/doc
@(require "common.rkt")
@defclass/title[embedded-text-button% snip-wrapper% (alignment<%>)]{
A button with a text label.
@defconstructor[([label string?]
[callback ((is-a?/c text-button-snip%) (is-a?/c event%) . -> . void?)])]{
The @scheme[callback] is called when the button is clicked.}
}