Base classes for creating Orange Canvas widgets. Provides OWBaseWidget and its derived classes for building interactive data mining components. Current version 4.27.0, requires Python >=3.10. Released as part of the Orange data mining suite.
pip install orange-widget-baseNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minimal OWBaseWidget subclass with inputs, outputs, settings, and control area.
Define Inputs and Outputs as inner classes with Input/Output instances.
Use `from orangewidget import gui` instead.
Import from `orangewidget.settings import Setting`.
Update widgets to use OWBaseWidget and Input/Output decorators.
Define handler methods with descriptive names and link them via `Input("Name", type, "method_name")`.Always set `name` to a unique, descriptive string.
Pass the class object, e.g., `Input("Data", Orange.data.Table, "set_data")`.No dependency data recorded yet.