-
Notifications
You must be signed in to change notification settings - Fork 17
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
change from choice to inputchoice in fldialect nad add search function #33
Conversation
@MoAlyousef How can You add |
I can try adding InputChoice::value_index() since FLTK doesn’t expose it. Regarding the nesting, you would have to escape the forward slashes with a backslash. The string has to be a string literal: |
@MoAlyousef , I can't understand the strange behavior in |
set_label cause a widget to redraw, i.e invoking the draw method again and again. |
@MoAlyousef , sorry, I didn't understand. Why does |
@MoAlyousef can you add a method |
Anything which causes a redraw like browser.clear() and frame.set_labe() if called inside the draw callback would cause issues. |
@MoAlyousef The GlobalState is very usefully. I remade demos cairo_button, csv and flpicture with |
If you can create a minimal repro of the code not working it might help with finding out what issue it has. It could be a bug in FLTK. |
@MoAlyousef I make it. |
@MoAlyousef Do you have any comments about MR? Will you accept? |
The amount of changes is too large, and I'm busy these days. I'll review them when I have the time. |
It seems flpicture wasn't updated and there's a bug when the browser is selected. |
What architectural solution do you prefer? |
Some new demos are ok. The demos which attempt to show interoperation with other libraries especially on how to integrate them with FLTK (like cairo for example), should show the minimal amount of code to get something working. It should be imperative, since it shouldn't assume how other devs using or integrating this code have structured their code. |
I understood. But, what architectural solution do you prefer? |
@MoAlyousef Please add handling for deactivated widgets. |
Done |
No description provided.