I realized that there are a lot (or maybe all) slate widgets exposed to Python, which is great!!
But… with my lack of knowledge about slate, it is for me not possible to understand how to use it.
From what I understand is the base that you need a panel. On this panel, you can spawn and arrange all kind of widgets easily.
I tried something like this:
widget = unreal.TextBlock() widget.set_editor_property('text', 'hello world') foo = unreal.CanvasPanel() foo.add_child_to_canvas(widget)
this works without error, but there is nothing showing up.
Is there some documentation about it or does someone know what’s missing?
Thank you in advance for your help and time!
I am aiming for creating my EditorToolbarExtensions directly with python so I do not have to recompile my plugin with every new unrealversion.