Handbook
Glossary
show-status ( string/f gadget -- )
Factor handbook
»
UI framework
»
Building user interfaces
»
Status bars and mouse-over help
Prev:
open-status-window ( gadget title/attributes -- )
Next:
hide-status ( gadget -- )
Vocabulary
ui
.
gadgets
.
worlds
Inputs
string/f
a
string
gadget
a
gadget
Outputs
None
Word description
Displays a status message in the gadget's world.
Notes
The status message will only be visible if the window was opened with
open-status-window
, and not
open-window
.
See also
<status-bar>
,
show-mouse-help
,
show-summary
,
hide-status
Definition
USING:
accessors
kernel
models
;
IN:
ui.gadgets.worlds
:
show-status
( string/f gadget -- )
dup
find-world
dup
[
dup
status>>
[
[
status-owner<<
]
[
status>>
set-model
]
bi
]
[
3drop
]
if
]
[
3drop
]
if
;