Minimized, pinned but showing


#1

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!


#2

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


#3

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?


#4

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