Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emit a signal when the file browser selected items changes #14598

Open
jtpio opened this issue May 26, 2023 · 0 comments
Open

Emit a signal when the file browser selected items changes #14598

jtpio opened this issue May 26, 2023 · 0 comments

Comments

@jtpio
Copy link
Member

jtpio commented May 26, 2023

Problem

Currently there is no easy way to know when the list of selected items in the file browser changes.

Proposed Solution

Add a new selectionChanged signal on the FileBrowser. The args could contain the list of selected items or void since they can already be retrieved with browser.selectedItems().

Additional context

This would directly help Notebook 7 in the case of adding buttons to the file browser toolbar when multiple items are selected: jupyter/notebook#6888

@jtpio jtpio added enhancement status:Needs Triage Applied to new issues that need triage labels May 26, 2023
@jtpio jtpio changed the title Emit a signal when the file browser selection changes Emit a signal when the file browser selected items changes May 26, 2023
@JasonWeill JasonWeill added pkg:filebrowser and removed status:Needs Triage Applied to new issues that need triage labels May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants