Handbook
Glossary
<presentation> ( label object -- button )
Factor handbook
»
UI framework
»
Building user interfaces
»
Pre-made UI gadgets
»
Presentation gadgets
Prev:
presentation
Vocabulary
ui
.
gadgets
.
presentations
Inputs
label
a label
object
an
object
Outputs
button
a new
button
Word description
Creates a new
presentation
derived from
<roll-button>
.
See also
Presentations
See also
<button>
,
<border-button>
,
<command-button>
,
<roll-button>
Definition
USING:
accessors
kernel
ui.gadgets.buttons
ui.gadgets.buttons.private
;
IN:
ui.gadgets.presentations
:
<presentation>
( label object -- button )
[
[
invoke-primary
]
presentation
new-button
]
dip
>>object
[
drop
]
>>hook
roll-button-theme
;