Handbook
Glossary
<border-button> ( label quot: ( button -- ) -- button )
Factor handbook
»
UI framework
»
Building user interfaces
»
Pre-made UI gadgets
»
Button gadgets
Prev:
<roll-button> ( label quot: ( button -- ) -- button )
Next:
<repeat-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
with a border which is always visible. The button appearance changes in response to mouse gestures using a
button-pen
.
See also
<button>
,
<command-button>
,
<roll-button>
,
<presentation>
Definition
USING:
accessors
ui.gadgets.buttons.private
ui.pens.solid
ui.theme
;
IN:
ui.gadgets.buttons
:
<border-button>
( label quot: ( button -- ) -- button )
<button>
border-button-theme
field-border-color
<solid>
>>boundary
;