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

rework: deprecate select methods #207

Merged
merged 5 commits into from
Nov 24, 2024
Merged

Conversation

fluxxcode
Copy link
Owner

@fluxxcode fluxxcode commented Nov 23, 2024

Deprecated select methods and added new pick methods for more consistent naming.

This is the first PR to precisely name the public API. Overall, it's about correctly separating between currently selected and final picked items. For more information see: #171

The now deprecated methods will most likely be removed with v0.9.0! In the version in which the deprecated methods are removed, the DialogMode and DialogState variants will also be renamed to Picked.

Renamed the following methods:

  • select_directory -> pick_directory
  • select_file -> pick_file
  • select_multiple -> pick_multiple
  • selected -> picked
  • take_selected -> take_picked
  • selected_multiple -> picked_multiple
  • take_selected_multiple -> take_picked_multiple

Also renamed the select_* examples.

@fluxxcode fluxxcode merged commit 99e69b0 into develop Nov 24, 2024
5 checks passed
@fluxxcode fluxxcode deleted the rework/deprecate_select_methods branch November 26, 2024 12:57
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.

1 participant