OWWidget

Orange的扩展插件Widgets开发(六)-OWWidget

有些话、适合烂在心里 提交于 2020-04-06 22:39:27
Orange的扩展插件Widgets开发(六) -OWWidget The OWWidget is the main component for implementing a widget in the Orange Canvas workflow. It both defines the widget input/output capabilities and implements it’s functionality within the canvas. Widget Meta Description Every widget in the canvas framework needs to define it’s meta definition. This includes the widget’s name and text descriptions but more importantly also its input/output specification. This is done by defining constants in the widget’s class namespace: class IntConstant(OWWidget): name = "Integer Constant" description "A simple integer