We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To reduce lines of code for switching from buttons to select menu I would recommend to implement a function in Paginators Class.
before:
paginator.show_select_menu = True paginator.show_back_button = False paginator.show_first_button = False paginator.show_next_button = False paginator.show_last_button = False
after:
paginator.show_select_menu = True paginator.deactivate_buttons()
add following function to Paginators class:
class Paginator: ... def deactivate_buttons(self) -> None: """ deactivate all control buttons for `First`, `Back`, `Next`, `Last`. """ self.show_first_button = False self.show_back_button = False self.show_next_button = False self.show_last_button = False ...
No response
PR is ready and will add asap
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem Description
To reduce lines of code for switching from buttons to select menu I would recommend to implement a function in Paginators Class.
before:
after:
Proposed Solution
add following function to Paginators class:
Alternatives Considered
No response
Additional Information
PR is ready and will add asap
Code of Conduct
The text was updated successfully, but these errors were encountered: