gadget-selection? ( gadget -- ? )
Factor handbook » UI framework » Building user interfaces » Pre-made UI gadgets » Editor gadgets » The caret and mark

Prev:mark>caret ( editor -- )
Next:gadget-selection ( gadget -- string/f )


Vocabulary
ui.gadgets

Inputs
gadgeta gadget


Outputs
?a boolean


Generic word contract
Outputs if the gadget has an active text selection; if so, the selected text can be obtained with a call to gadget-selection.

Definition


Methods