Represents the grid widget within the main editor area
Represents the grid widget within the main editor area
(active-tab-group)
The currently active group.
Returns: TabGroup
The currently active group. **Returns:** `TabGroup`
(all)
All the groups within the group container.
Returns: readonly TabGroup[]
All the groups within the group container. **Returns:** `readonly TabGroup[]`
(close tab)
(close tab-group)
(close tab preserve-focus?)
(close tab-group preserve-focus?)
Closes the tab. This makes the tab object invalid and the tab should no longer be used for further actions. Note: In the case of a dirty tab, a confirmation dialog will be shown which may be cancelled. If cancelled the tab is still valid Closes the tab group. This makes the tab group object invalid and the tab group should no longer be used for further actions.
Parameters:
tab
: Tab | readonly Tab[]
- The tab to close.tab-group
: TabGroup | readonly TabGroup[]
- The tab group to close.preserve-focus?
: boolean | undefined
- When true
focus will remain in its current position.Returns: Thenable<boolean>
- A promise that resolves to true
when all tab groups have been closed.
Closes the tab. This makes the tab object invalid and the tab should no longer be used for further actions. Note: In the case of a dirty tab, a confirmation dialog will be shown which may be cancelled. If cancelled the tab is still valid Closes the tab group. This makes the tab group object invalid and the tab group should no longer be used for further actions. **Parameters:** - `tab`: `Tab | readonly Tab[]` - The tab to close. - `tab-group`: `TabGroup | readonly TabGroup[]` - The tab group to close. - `preserve-focus?`: `boolean | undefined` - When `true` focus will remain in its current position. **Returns:** `Thenable<boolean>` - A promise that resolves to `true` when all tab groups have been closed.
(on-did-change-tab-groups)
(on-did-change-tab-groups listener)
(on-did-change-tab-groups listener this-args)
(on-did-change-tab-groups listener this-args disposables)
An {@link Event event} which fires when {@link TabGroup tab groups} have changed.
Parameters:
listener
: (e: T) => any
- The listener function will be called when the event happens.this-args
: any
- The this
-argument which will be used when calling the event listener.disposables
: Disposable[] | undefined
- An array to which a {@link Disposable } will be added.Returns: Disposable
- A disposable which unsubscribes the event listener.
An {@link Event event} which fires when {@link TabGroup tab groups} have changed. **Parameters:** - `listener`: `(e: T) => any` - The listener function will be called when the event happens. - `this-args`: `any` - The `this`-argument which will be used when calling the event listener. - `disposables`: `Disposable[] | undefined` - An array to which a {@link Disposable } will be added. **Returns:** `Disposable` - A disposable which unsubscribes the event listener.
(on-did-change-tabs)
(on-did-change-tabs listener)
(on-did-change-tabs listener this-args)
(on-did-change-tabs listener this-args disposables)
An {@link Event event} which fires when {@link Tab tabs} have changed.
Parameters:
listener
: (e: T) => any
- The listener function will be called when the event happens.this-args
: any
- The this
-argument which will be used when calling the event listener.disposables
: Disposable[] | undefined
- An array to which a {@link Disposable } will be added.Returns: Disposable
- A disposable which unsubscribes the event listener.
An {@link Event event} which fires when {@link Tab tabs} have changed. **Parameters:** - `listener`: `(e: T) => any` - The listener function will be called when the event happens. - `this-args`: `any` - The `this`-argument which will be used when calling the event listener. - `disposables`: `Disposable[] | undefined` - An array to which a {@link Disposable } will be added. **Returns:** `Disposable` - A disposable which unsubscribes the event listener.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close