Okay, a few things: * Yes, this library works with Pyglui, no changes necessary * Checkboxes should have text! * "from pyglet.gl import *" does TERRIBLE things to your documentation, just look at the bottom of the Dialog doc page * Speaking of documentation, how the heck do I use a Dialog? The docs are very vague. Sample code necessary! * It is not clear at all how to get a slider's value
Also, a design suggestion: instead of making the programmer manually set a function for a widget to call in a separate line of code, why not just let them pass it in the constructor? Pyglui's widget library works this way, and it's very easy. This also takes away the need for programmers to memorize all your specific function names like "on_button_press". In addition, you should let sliders and checkboxes have action functions as well, and have them pass their values into those functions. More here: http://github.com/irskep/pyglui/tree/master On May 8, 5:54 am, sanka <[email protected]> wrote: > Hello all, > > We are currently working on a "simple to use" GUI using pyglet in > order to easily implements user interfaces. > > Actually, the widgets available are : > _ Dialog : A dialog with a title, a close button and a > content > _ HBox : Used to split content into horizontal parts > _ VBox : Used to split content into vertical parts > _ Button : a basic button > _ Checkbox : a basic checkbox > _ Label : a basic label > _ Slider : a basic slider > > With theses few widgets, there is already quite a lot of > possibilities. > preview :http://img25.imageshack.us/img25/2374/capturetestpy.png > > The source and the documentation are available here > :http://code.google.com/p/pywidget/ > > Advices, review and modification of the source code are welcome :) > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
