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 the ability to disable ToolbarActions #2306
Comments
Hi. Please use the issue templates when opening issues (the Feature Request template in this case). It makes makes it much easier for us to understand and categorise new issues. As for this issue, I think it might, at least partially, be a duplicate of #682 when it comes to disabling menus. However, toolbars does not. I think it might be good to transition this to instead be for that part only. |
Agreed. Disablable menus are already on PR #2261 heading to the 2.1 release. |
Excellent. Thanks a lot for the responsiveness and positive feedback. |
Can I take up this issue? |
Absolutely. I don't think anyone has started working on this. Go ahead :) |
Hi @Jacalz , I'm new to this. could you please suggest me the file where this change needs to be implemented and elaborate a little technically how this can done? |
Look at widget/toolbar.go I would think - see how the normal button disables as inspiration. |
Is it still open? Can I work on this? |
Yes it is still open (you can see because the issue is open). |
Since the ToolbarAction can also be created without the constructor, the pointer to the button could be nil.
ToolbarActions and MenuItems needs to be disableable for the similar reasons and coherence with DisableableWidgets. Last corresponds to solved #234 .
The text was updated successfully, but these errors were encountered: