gui/collects/embedded-gui/scribblings/text-button-snip.scrbl
Matthew Flatt 0c66492b27 embedded-gui docs
svn: r9389

original commit: 6fcc293c4a3422e162b06fc4264a975cadfb8570
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.}
}