embedded-text-button% : class? | ||
superclass: snip-wrapper% | ||
|
A button with a text label.
(new embedded-text-button% [label label] [callback callback]) → (is-a?/c embedded-text-button%) label : string? callback : ((is-a?/c text-button-snip%) (is-a?/c event%) . -> . void?)
The callback is called when the button is clicked.