How to spawn a primitive button in Blueprints
To my knowledge, the only way to spawn a button in Blueprints is to first create a widget MyButton, and call Create Widget from it.
What if I only want to spawn the most basic button (i.e. the primitive button accessible in the Designer panel) and don't want to create a dummy widget, how can I accomplish this?
If this is impossible, what were the reasons behind not allowing this?
It is not possible to spawn primitive widgets using the "Create Widget" Node.
Reason: Primitive Widgets are not User Widgets. Create Widget only accepts User Widget classes.
As you already know, if you want the use of Primitive Widgets in a "Create Widget" Node, you would need to create a User Widget containing it.
Primitive Widgets extend from a Slate Object, just like User Widgets do.
answered Oct 13 '16 at 04:31 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here