StatusBar Multiple Instances
See original GitHub issueI’m starting to work with Terminal.Gui and right now have implemented several instances of Toplevel
for different “screens” in my program. (I don’t want borders/title drawn as would happen with a Window
, but I do want a StatusBar
for each Toplevel
.)
The first Toplevel
that gets created with a new StatusBar()
looks fine, but all subsequent Toplevel
views do not have a visible new StatusBar()
; additionally, hot-key functions are usable even without a visible StatusBar
.
I see there’s StatusBar
property on the Toplevel
. If I try assigning a new StatusBar()
to this property, all views get a visible StatusBar
but the first view has an “extra” blank line which ends up with a “ghost” StatusBar
when the views are switched.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9
Top Results From Across the Web
Excel Status Bar and Multiple Instances of Excel
Excel Status Bar and Multiple Instances of Excel · Right-click the current Excel window in the taskbar. · While holding down ALT &...
Read more >Multiple Instances of StatusBar or ProgressBar plugin #788
I'm currently using Uppy in a dynamic form system which allows users to completely customize the fields they use for our product.
Read more >Android Activity with 2 status bar?
1 Answer 1 ... The status bar is not part of the Activity. Of course, you can design your Activity UI to have...
Read more >Multiple dzen2 instances to make single status bar : r/i3wm
Hey, I'm trying to make a single status bar in i3, which I am trying to run with multiple instances of dzen2 to...
Read more >StatusBar
It is possible to have multiple StatusBar components mounted at the same time. The props will be merged in the order the StatusBar...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you all for the code samples! This looks decent 👍
Sorry @tznind. I gave you wrong information.
Application.Init ();
doesn’t do nothing to acquire the needed behavior, because the driver andAppliaction.Top
are already setup. It’s thevar top = Application.Top;
who do what it’s intended to do, because only theApplication.Top
can have aMenuBar
and aStatusBar
. But we must be careful to cleanup all theApplication.Top
subviews, before assign it to a newToplevel
. So, here is a changed example: