racket/collects/embedded-gui/scribblings/text-button-snip.scrbl
Matthew Flatt 6fcc293c4a embedded-gui docs
svn: r9389
2008-04-21 20:51:23 +00:00

14 lines
306 B
Racket

#lang scribble/doc
@(require "common.ss")
@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 @scheme[callback] is called when the button is clicked.}
}