racket/collects/embedded-gui/scribblings/embedded-text-button.scrbl
Eli Barzilay ac26fe7554 A ton of @scheme*' -> @racket*' and related updates.
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -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 @racket[callback] is called when the button is clicked.}
}