Handbook
Glossary
open-status-window ( gadget title/attributes -- )
Factor handbook
»
UI framework
»
Building user interfaces
»
Status bars and mouse-over help
Next:
show-status ( string/f gadget -- )
Vocabulary
ui
.
gadgets
.
status-bar
Inputs
gadget
a
gadget
title/attributes
a
string
or a
world-attributes
tuple
Outputs
None
Word description
Like
open-window
, with the additional feature that the new window will have a status bar displaying the value stored in the world's
status
slot.
See also
show-status
,
hide-status
Definition
USING:
accessors
kernel
models
ui
ui.gadgets.borders
ui.gadgets.tracks
ui.gadgets.worlds
ui.pens.solid
ui.private
ui.theme
;
IN:
ui.gadgets.status-bar
:
open-status-window
( gadget title/attributes -- )
?attributes
f
<model>
>>status
<world>
dup
status>>
<status-bar>
{
7 2
}
<filled-border>
status-bar-background
<solid>
>>interior
f
track-add
open-world-window
;