mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
FileManager: Add on_selection event for DirectoryView
There needs to be a way to know when a user has selected a file. file_system_model->on_selection_changed only fires on directory change.
This commit is contained in:
parent
8920ece8f6
commit
b894803a30
2 changed files with 10 additions and 0 deletions
|
@ -23,6 +23,7 @@ public:
|
|||
void refresh();
|
||||
|
||||
Function<void(const StringView&)> on_path_change;
|
||||
Function<void(GAbstractView&)> on_selection;
|
||||
Function<void(const StringView&)> on_status_message;
|
||||
Function<void(int done, int total)> on_thumbnail_progress;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue