presentation
Factor handbook » UI framework » Building user interfaces » Pre-made UI gadgets » Presentation gadgets

Next:<presentation> ( label object -- button )


Vocabulary
ui.gadgets.presentations

Class description
A presentation is a button which represents an object. Left-clicking a presentation invokes the default operation, and right-clicking displays a menu of possible operations output by object-operations.

Presentations are created by calling <presentation>.

Presentations have two slots:
object - the object being presented.
hook - a quotation with stack effect ( presentation -- ). The default value is [ drop ].


Definition


Methods