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

14 lines
331 B
Racket

#lang scribble/doc
@(require "common.ss")
@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.}
}