WidgetType
- class wpilib.shuffleboard.WidgetType(widgetName: str)
Bases:
pybind11_object
Represents the type of a widget in Shuffleboard. Using this is preferred over specifying raw strings, to avoid typos and having to know or look up the exact string name for a desired widget.
@see BuiltInWidgets the built-in widget types
- getWidgetName() str
Gets the string type of the widget as defined by that widget in Shuffleboard.