-
Notifications
You must be signed in to change notification settings - Fork 610
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
Simplify demos #10
Comments
Hi..I agree with this issue...I'll appreciate if you can provide some useful samples like a menu, would be could see how you build a menu which you can select the item with the keyboard...or even better, simplify how build basic vertical/horizontal menu...inputs box and things more related to UI thank so much..the lib seems pretty cool although I need check more the code for understand better how it works.... |
@cocodrino sure! I'll include more real-world examples like the ones you mentioned. |
I've been working on refactoring gocui to allow building "widgets" in an easy way. The result of this refactoring is the new Manager interface. Based on this feature, I wrote a simple example with some widgets (labels, buttons, status bar) that can be used as a guide to build more complex ones: Of course the implemented widgets are not "complete", but should be enough to get the idea :) |
Thanks! |
For example, demo2.go has been used for testing purposes and its source code is not clear enough.
The text was updated successfully, but these errors were encountered: