Handbook
Glossary
<roll-button> ( label quot: ( button -- ) -- button )
Factor handbook
»
UI framework
»
Building user interfaces
»
Pre-made UI gadgets
»
Button gadgets
Prev:
<button> ( label quot: ( button -- ) -- button )
Next:
<border-button> ( label quot: ( button -- ) -- button )
Vocabulary
ui
.
gadgets
.
buttons
Inputs
label
a label specifier
quot
a
quotation
with stack effect
( button -- )
Outputs
button
a
button
Word description
Creates a new
button
which is displayed with a solid border when it is under the mouse, informing the user that the gadget is clickable.
See also
<button>
,
<border-button>
,
<command-button>
,
<presentation>
Definition
USING:
ui.gadgets.buttons.private
;
IN:
ui.gadgets.buttons
:
<roll-button>
( label quot: ( button -- ) -- button )
<button>
roll-button-theme
;