A namespace for all tracked widgets, (e.g.,
A signal emitted when the current widget changes.
Test whether the tracker is disposed.
A promise resolved when the tracker has been restored.
A signal emitted when the selection state changes.
The number of widgets held by the tracker.
A signal emitted when a widget is updated.
Add a new notebook panel to the tracker.
The notebook panel being added.
Dispose of the resources held by the tracker.
Check if this tracker has the specified widget.
The widget whose existence is being checked.
Inject a foreign widget into the widget tracker.
The widget to inject into the tracker.
Injected widgets will not have their state saved by the tracker.
The primary use case for widget injection is for a plugin that offers a
sub-class of an extant plugin to have its instances share the same commands
as the parent plugin (since most relevant commands will use the
currentWidget of the parent plugin's widget tracker). In this situation,
the sub-class plugin may well have its own widget tracker for layout and
state restoration in addition to injecting its widgets into the parent
plugin's widget tracker.
Handle the current change event.
Restore the widgets in this tracker's namespace.
A promise that resolves when restoration has completed.
This function should not typically be invoked by client code. Its primary use case is to be invoked by a restorer.
Save the restore data for a given widget.
The widget being saved.
Generated using TypeDoc