racket/collects/embedded-gui/scribblings/text-button-snip.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
307 B
Racket

#lang scribble/doc
@(require "common.rkt")
@defclass/title[text-button-snip% snip% ()]{
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.}
}