Detect if the Plugins window has been opened with C++

Hi, does anyone know if there is a method using C++ to check and detect if Unreal Engine’s “Plugins” window has been opened? From there I am further looking for a method to check if the toggle button for a certain plugin name has been enabled or disabled.

Thanks!

As a starting point Unreal’s WidgetReflector is able to debug the Plugins Window SWidget hierarcy which helps when searching for widgets in a function when the Plugins Window is open.

Look in FGlobalTabManager.
If the plugin window (or any) is open, this class should contain information about it.

Thanks for the tip @PREDALIEN, but I didn’t get it to work with “FGlobalTabManager”. I am not sure whether it’s because Plugins window (SPluginBrowser) is not represented as a tab, but rather as a top-level SWindow. I did get it to work with FSlateApplication::Get().GetActiveTopLevelWindow() though.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.