Skip to content

Commit d300599

Browse files
author
Roberto De Ioris
authored
Update Slate_API.md
1 parent e7fd914 commit d300599

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

docs/Slate_API.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,9 +737,25 @@ note that the callable executed by on_object_changed receives an FAssetData obje
737737

738738
More infos here: https://api.unrealengine.com/INT/API/Editor/PropertyEditor/SObjectPropertyEntryBox/index.html
739739

740+
## SPythonEditorViewport
741+
740742
## Properties Editors
741743

742-
## SPythonEditorViewport
744+
```python
745+
from unreal_engine import SWindow
746+
import unreal_engine as ue
747+
748+
749+
750+
window = SWindow(client_size=(512, 256), title='Mannequin Properties', sizing_rule=0)(
751+
(
752+
ue.create_detail_view(uobject=ue.get_selected_assets()[0].GeneratedClass.get_cdo())
753+
)
754+
)
755+
```
756+
757+
![SDetailView](https://github.com/20tab/UnrealEnginePython/raw/master/docs/screenshots/slate_SDetailView.png)
758+
743759

744760
## SPythonListView
745761

0 commit comments

Comments
 (0)