UNPKG

626 BTypeScriptView Raw
1import { IDisposable } from '@lumino/disposable';
2import { ISignal } from '@lumino/signaling';
3import { DocumentRegistry } from '@jupyterlab/docregistry';
4import { NotebookPanel, INotebookModel } from '@jupyterlab/notebook';
5/**
6 * A notebook widget extension that adds a button to the toolbar.
7 */
8export declare class NotebookFontsButton implements DocumentRegistry.IWidgetExtension<NotebookPanel, INotebookModel> {
9 readonly widgetRequested: ISignal<any, void>;
10 /**
11 * Create a new extension object.
12 */
13 createNew(panel: NotebookPanel, context: DocumentRegistry.IContext<INotebookModel>): IDisposable;
14}