Minimized, pinned but showing

Hi,

I’ve tried what I could, but no luck. I want to programatically minimize a dock (success), pin it (success), and set it to “show” i.e. not show as minimized, effectively making it as if I clicked on its tab on the minimize dock area. Everything I tried, still results in the dock staying minimized.

Thanks!

Try calling the “toFront” method. It should focus the Dockable (and being focused is like being clicked).

1 „Gefällt mir“

That did it. However, this will only hold as long as the dock is in focus, yes? Is there a way to make this state “stick”, even when focus is lost?

Ha. my sequencing was wrong. figured out what i wanted. sorry for the frivolous questions :slight_smile: