It reflects the contents of my hard drive, and auto updates itself as I make changes to my computer’s hard drive!
I used a Tree View widget to reflect the file structure for easy viewing and navigation.
Once the user clicks on a certain directory in the Slate window top portion, the file contents of all subdirectories are displayed in the lower portion!
The Slate window is light-weight and features my own unique Style
Annnnnnnd
I am giving you the entire c++ code for the foundation of what you see in the video, for your own unique implementation!
What took me the longest to figure out was all the basics, which I am giving you on the wiki page!
To avoid having the issue where clicking outside the new window would cause it to disappear / be hidden in the layers of windows, I had to make it a “native child” of the current parent window
**Code Sample ~ Get Active Top Level Window **
I wrote this code to ensure that my new window was a native child of whatever the "**Active Top Level Window**" was:
```
TSharedPtr<SWindow> TopWindow = FSlateApplication::Get().GetActiveTopLevelWindow();
if(TopWindow.IsValid())
{
//Add as Native
FSlateApplication::Get().AddWindowAsNativeChild(NewWindow, TopWindow.ToSharedRef(), true);
}
else
{
//Default in case no top window
FSlateApplication::Get().AddWindow(NewWindow);
}
```
From what I can gather (video, comments), this slate application does load a level which you extend class UnrealEdEngine. Can you please describe more about this - a full working source code would be a very nice start!