SimpleWidget

class wpilib.shuffleboard.SimpleWidget(parent: wpilib.shuffleboard._shuffleboard.ShuffleboardContainer, title: str)

Bases: _SimpleWidget

A Shuffleboard widget that handles a single data point such as a number or string.

buildInto(parentTable: ntcore._ntcore.NetworkTable, metaTable: ntcore._ntcore.NetworkTable) None
getEntry(*args, **kwargs)

Overloaded function.

  1. getEntry(self: wpilib.shuffleboard._shuffleboard.SimpleWidget) -> ntcore._ntcore.GenericEntry

Gets the NetworkTable entry that contains the data for this widget. The widget owns the entry; the returned pointer’s lifetime is the same as that of the widget.

  1. getEntry(self: wpilib.shuffleboard._shuffleboard.SimpleWidget, typeString: str) -> ntcore._ntcore.GenericEntry

Gets the NetworkTable entry that contains the data for this widget. The widget owns the entry; the returned pointer’s lifetime is the same as that of the widget.

Parameters:

typeString – NT type string