Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.
This repository was archived by the owner on Jan 26, 2022. It is now read-only.

Create a function for adding toolbar buttons. #154

@afshin

Description

@afshin

Create a helper function that adds the default debugger launch command to the toolbar of a ConsolePanel or NotebookPanel only if its kernel supports debugging. This function should be called from within the consoles plugin and the notebooks plugin.

/**
 * Adds a toolbar button to open the debugger.
 */
function updateToolbar(widget: MainAreaWidget<ConsolePanel | NotebookPanel>): void {
  /* ... */
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions