1 | import { ISignal } from '@lumino/signaling';
|
2 | import { Panel } from './panel';
|
3 | import { StackedLayout } from './stackedlayout';
|
4 | import { Widget } from './widget';
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | export declare class StackedPanel extends Panel {
|
12 | |
13 |
|
14 |
|
15 |
|
16 |
|
17 | constructor(options?: StackedPanel.IOptions);
|
18 | /**
|
19 | * The method for hiding widgets.
|
20 | *
|
21 | * #### Notes
|
22 | * If there is only one child widget, `Display` hiding mode will be used
|
23 | * regardless of this setting.
|
24 | */
|
25 | get hiddenMode(): Widget.HiddenMode;
|
26 | /**
|
27 | * Set the method for hiding widgets.
|
28 | *
|
29 | * #### Notes
|
30 | * If there is only one child widget, `Display` hiding mode will be used
|
31 | * regardless of this setting.
|
32 | */
|
33 | set hiddenMode(v: Widget.HiddenMode);
|
34 | /**
|
35 | * A signal emitted when a widget is removed from a stacked panel.
|
36 | */
|
37 | get widgetRemoved(): ISignal<this, Widget>;
|
38 | /**
|
39 | * A message handler invoked on a `'child-added'` message.
|
40 | */
|
41 | protected onChildAdded(msg: Widget.ChildMessage): void;
|
42 | /**
|
43 | * A message handler invoked on a `'child-removed'` message.
|
44 | */
|
45 | protected onChildRemoved(msg: Widget.ChildMessage): void;
|
46 | private _widgetRemoved;
|
47 | }
|
48 | /**
|
49 | * The namespace for the `StackedPanel` class statics.
|
50 | */
|
51 | export declare namespace StackedPanel {
|
52 | |
53 |
|
54 |
|
55 | interface IOptions {
|
56 | |
57 |
|
58 |
|
59 |
|
60 |
|
61 | layout?: StackedLayout;
|
62 | }
|
63 | }
|