How to get the main window of the editor, to parent Qt or PySide application to it?

Hi

long time ago … :smiley:
Haven’t used Python for Unreal for a while now. But I noticed, that there is now a new description for the function and it takes 2 arguments now (not sure if this is new or if it was not documented in 2018)

This is the new function

unreal.parent_external_window_to_slate(external_window, parent_search_method=SlateParentWindowSearchMethod.ACTIVE_WINDOW)

I don’t have a proper setup for testing right now, but maybe it will work with the MAIN_WINDOW as second argument?

All best