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 Disable Feature to Toggler Widget #2478

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sundaram123krishnan
Copy link

@sundaram123krishnan sundaram123krishnan commented Jun 24, 2024

Requirement

In our pigg app, we encountered a scenario where it was necessary to disable the toggler based on user interactions. This functionality was crucial to ensure better control and flexibility within the app's user interface.
pigg

Implementation

To address this need, I implemented the disable feature for the Toggler widget in Iced. When disabled, the toggler prevents any interaction, thereby enhancing the overall user experience by providing more control over the UI components.

I have also incorporated this feature into the Tour example of Iced to showcase its functionality and usage.
tour

Your feedback and suggestions for further improvements are highly appreciated!

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.

None yet

2 participants