-
Notifications
You must be signed in to change notification settings - Fork 201
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
Update A ColumnMenu's Items #150
Comments
@ItsErikSquared Try |
@cronvel While this will definitely be useful in my project (thank you so much), I was wondering if it is possible to append and remove items to the menu. |
@ItsErikSquared What are you trying to achieve? (your use-case) |
@cronvel Essentially, I am creating an alternative chat client. Basically, a user can join or leave a room. Rooms are able to be joined/created/removed during the usage of the application. If you recommend I just rebuild the menu each time, I'll do that. ex: After rereading what I requested, I can see the complications this may entail, so rebuilding the menu may be a better option. I do appreciate you taking the time to look into this. :) |
@ItsErikSquared When you write a lib, you never know which kind of use-cases will pop up! ^^ |
@ItsErikSquared What kind of API would it looks like? I see little value in sending all the menu params vs recreating the menu. But append a menu item or delete an item seems legit. |
@cronvel Sorry about the delayed reply (life happens). I am unsure what you mean by the question? If you mean method-wise, just I may be interpreting the question incorrectly, however. |
Hello,
I was attempting to update a ColumnMenu's items.
I couldn't find a function to update/add/remove the items in a ColumnMenu though it is completely possible I just missed it (if so please forgive me). I know I could just keep rebuilding it over and over again, but I don't feel that's really a good answer to the problem.
I've tried a couple different ways of doing this but the one that has been most successful is below, however the menu appears when its added, then disappears when you focus on the menu, and will reappear when you lose focus, and then focus again, so it's not ideal at all.
So please tell me, is there a function that is already implemented that I missed, or is there a workaround (other than destroying and rebuilding it every time there's an item that has to be added or removed), or is this just isn't currently possible?
I appreciate any help and/or suggestions.
The text was updated successfully, but these errors were encountered: