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

Add FileDialog::{active_entry, update_with_custom_right_panel} #170

Merged
merged 10 commits into from
Oct 25, 2024

Conversation

crumblingstatue
Copy link
Contributor

  • active_entry: Gives access to the selected_item field. It allows the user to know what is the currently highlighted file, or currently active directory in absence of a highlighted file.
  • update_with_custom_right_panel: Does the same thing as update, except it also adds a right panel with a custom ui callback to allow the user to show custom information, or open options.

src/file_dialog.rs Outdated Show resolved Hide resolved
@fluxxcode
Copy link
Owner

Thanks for the PR! I replied to your threads. Could you take a look at them? Ty!

Copy link
Owner

@fluxxcode fluxxcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opened another little thread in the example. Ty!

examples/custom-right-panel/src/main.rs Outdated Show resolved Hide resolved
src/file_dialog.rs Show resolved Hide resolved
@fluxxcode fluxxcode merged commit 07f7a2e into fluxxcode:develop Oct 25, 2024
1 check passed
@fluxxcode fluxxcode mentioned this pull request Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants