Can ShuffleBoard auto-switch tabs from robot code?

I think it would be very convenient to have robot code trigger ShuffleBoard to automatically switch tabs. Perhaps a SmartDashboard NetworkTables entry, for example. Maybe post a number corresponding to tab numbers from robot code?

In my team, for example, we struggle with screen space on our 15-inch laptop screen with all the buttons and cameras we have. There would be many uses for this feature, like large buttons for resetting sensors before the match starts, then switching to another tab housing a large camera view along with a few other widgets. Maybe having a joystick button switch to a fullscreen camera view on demand.

This would save requiring another driver to switch tabs via the tiny buttons on top, where on a touchscreen the irreversible “Close Tab” button could easily be pressed.

Is there any current solution for this? I haven’t seen anyone mention a feature like this before now.

It might be possible in the LabVIEW dashboard. LV gives you access to the tab container object, so you can programmatically switch tabs when a NetworkTables value changes. I can create and upload a code snippet to demonstrate, if anyone’s interested.

For Shuffleboard and SmartDashboard, I’m not as sure. You would probably have to create a custom widget, but even then, I don’t know if widgets have access to the tab switcher object.