1 | import { IObservableList } from '@jupyterlab/observables';
|
2 | import { ISettingRegistry } from '@jupyterlab/settingregistry';
|
3 | import { ITranslator } from '@jupyterlab/translation';
|
4 | import { Toolbar } from '@jupyterlab/ui-components';
|
5 | import { Widget } from '@lumino/widgets';
|
6 | import { IToolbarWidgetRegistry, ToolbarRegistry } from '../tokens';
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 | export declare function createToolbarFactory(toolbarRegistry: IToolbarWidgetRegistry, settingsRegistry: ISettingRegistry, factoryName: string, pluginId: string, translator: ITranslator, propertyId?: string): (widget: Widget) => IObservableList<ToolbarRegistry.IToolbarItem>;
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 | export declare function setToolbar(widget: Toolbar.IWidgetToolbar | Widget, factory: (widget: Widget) => IObservableList<ToolbarRegistry.IToolbarItem> | ToolbarRegistry.IToolbarItem[], toolbar?: Toolbar): void;
|