Download

Accessing a SDockTab later?

How can I get a reference to a SDockTab that I created? The FGlobalTabmanager() doesn’t seem to have any method for that. I tried just storing a reference to it, but that resulted in all sorts of compile errors that really had nothing to do with my code, so I got the impression that was the wrong way to do it.

Basically I am spawning a tab at plugin start, Invoking it on command, and then want to close it based on user input inside that tab. I am pretty sure I can use SDockTab.RequestTabeClose() if I can just get a reference to the tab to start with.