Skip to content

Commit 7d9f4c5

Browse files
author
Roberto De Ioris
committed
2 parents 862bcc2 + d300599 commit 7d9f4c5

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

docs/Slate_API.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ The python wrapper development has been sponsored by Kite & Lightning (http://ki
99

1010
This document assumes a python3 environment. If you are using python2, just ensure to use unicode when you see strings.
1111

12+
It is a 'Work In Progress' and its objective is to give the user enough basis to start building its tools. Only a meaningful subset of the available widgets is explained here, pull requests for extending this page are really welcomed.
13+
1214
## SWidget and ue_PySWidget
1315

1416
SWidget is the base C++ class for all the Slate widgets, it is wrapped in a python object (PyObject) named ue_PySWidget.
@@ -735,4 +737,28 @@ note that the callable executed by on_object_changed receives an FAssetData obje
735737

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

738-
##
740+
## SPythonEditorViewport
741+
742+
## Properties Editors
743+
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+
759+
760+
## SPythonListView
761+
762+
## SPythonTreeView
763+
764+
## SPythonWidget

0 commit comments

Comments
 (0)