Create SWindow as UMG widget
I've already found some info about SWindow widget itself here: https://answers.unrealengine.com/questions/262902/two-windows-in-a-program.html
But still i can't get myself in any point from where I can start, so my question is:
The purpose of all of this is pretty simple: i want to get draggable window that is separated from main window and containts some UMG widgets with scripted logic (no C++ needed for window content creation).
Im using Unreal to make my bachelor's degree work (small CAD software dedicated to specific theme) and currently trying to imrpove some of the UI aspects of it (currently, draggable UMG windows that are visible inside main viewport only are not very comfortable to work with).
asked May 24 '16 at 11:55 AM in C++ Programming
You probably wont able to do that as UMG editor was not designed to edit SWindow, you would need to design support for it whole thing youtself. But why dont you jusy make function that creates SWindow and place widget generated from UMG class. You can easily grab Slate widget from UMG widget with this class: https://docs.unrealengine.com/latest/INT/API/Runtime/UMG/Components/UWidget/TakeWidget/index.html You store UClass of some UMG widget, you create object from it and store it some where using NewObject function and then you use TakeWidget to grab slate widgey from it and add it to SWindow widget you created in C++.
answered May 24 '16 at 02:07 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here