Blueprint for TreeView? #845
Unanswered
michalfita
asked this question in
Q&A
Replies: 2 comments 10 replies
-
|
Unfortunately no, blueprints cannot really be generic. You can locally (in your compiled code) define a new blueprint for a specific concrete type of tree view, then use that from the builder config. But because the builder runs at runtime, we can't monomorphize to the correct type at this point. The best you could do is a blueprint that checks the config, and return one of a fixed concrete types. |
Beta Was this translation helpful? Give feedback.
7 replies
-
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
While we're on blueprints, is it even possible to implement a blueprint for
TreeView<T>(generic) fromcursive_tree_viewcrate? How the content type other thanStringwould be set?Beta Was this translation helpful? Give feedback.
All reactions