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

Missing Methods in Fl_browser #194

Closed
milustreamer opened this issue Jun 25, 2020 · 4 comments
Closed

Missing Methods in Fl_browser #194

milustreamer opened this issue Jun 25, 2020 · 4 comments

Comments

@milustreamer
Copy link

I find the fltk wrapper very interesting.
When reproducing the C ++ example for fltk from "Erco's FLTK Cheat Page" "Using FL_Browser with columns" I have the problem that the methods "column_widths", "column_char" are not implemented.
Can these methods be implemented in fltk-rs with little effort?
Thank you

@MoAlyousef
Copy link
Collaborator

Hi
Yes they should be straight forward to implement. I’ll check them out this evening.

@milustreamer
Copy link
Author

Hi,
thank you for the kindly answer

@MoAlyousef
Copy link
Collaborator

No problem.
I've pushed the missing Fl_Browser methods, and have added an example (basically a translation of Erco's example) here:
https://github.com/MoAlyousef/fltk-rs/blob/master/examples/browser.rs

I'm still waiting for the CI, I'll also take another look this evening to check if all's ok, then publish a new patch.

@milustreamer
Copy link
Author

Thank You very match for the quick fix.
I have test it ok and close the case.

joseluis pushed a commit to joseluis/fltk-rs that referenced this issue Mar 24, 2022
joseluis pushed a commit to joseluis/fltk-rs that referenced this issue Mar 24, 2022
Merge pull request fltk-rs#194 from MoAlyousef/main
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

No branches or pull requests

2 participants