1 | import { IRankedMenu, RankedMenu } from '@jupyterlab/ui-components';
|
2 | import { SemanticCommand } from '@jupyterlab/apputils';
|
3 |
|
4 |
|
5 |
|
6 | export interface IHelpMenu extends IRankedMenu {
|
7 | |
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | readonly getKernel: SemanticCommand;
|
16 | }
|
17 |
|
18 |
|
19 |
|
20 | export declare class HelpMenu extends RankedMenu implements IHelpMenu {
|
21 | |
22 |
|
23 |
|
24 | constructor(options: IRankedMenu.IOptions);
|
25 | /**
|
26 | * A semantic command to get the kernel for the help menu.
|
27 | * This is used to populate additional help
|
28 | * links provided by the kernel of a widget.
|
29 | *
|
30 | * #### Note
|
31 | * The command must return a Kernel.IKernelConnection object
|
32 | */
|
33 | readonly getKernel: SemanticCommand;
|
34 | }
|