Replies: 2 comments
-
No, currently there is no way to register new dtypes from outside. But you can simply add a custom widget instead. Something like my_widget_spec = {'widget': MyWidget, 'widget pos': 'below'}
class MyNode(Node):
inputs = [
NodeInputBP(label='a', add_data=my_widget_spec),
NodeInputBP(label='b', add_data=my_widget_spec),
] |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, that's how I do it now. But it looks, like |
Beta Was this translation helpful? Give feedback.
0 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.
-
I want to develop a new
DType
.I know, that
DType
s are defined inryvencore/dtypes/dtypes.py
and that the corresponding GUI widget is selected inryvencore_qt/src/flows/nodes/PortItem.py
. I could add my newDType
there, but is it also possible to add a newDType
type without touching ryven's source code? How would I do it?Beta Was this translation helpful? Give feedback.
All reactions