gui/gui-doc/embedded-gui/scribblings/embedded-text-button.scrbl
2014-12-02 02:33:07 -05: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.}
}