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

Toggle button in toolbar #600

Open
BrandonDyer64 opened this issue Sep 15, 2024 · 0 comments
Open

Toggle button in toolbar #600

BrandonDyer64 opened this issue Sep 15, 2024 · 0 comments
Labels

Comments

@BrandonDyer64
Copy link

I see it's possible to set an action function for custom toolbar icons, but how to I make it toggle on and off?

It seems the getState() function is in charge of what's active and what's not. Is there a way to hook into that? I have a toggle button that turns on and off custom code and I need the button to be in an active state when enabled.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant