On Tue, Jul 21, 2009 at 1:10 PM, Nicolas Rougier <[email protected]>wrote:
> > > Hi all, > > Here is glydget, a(nother) pyglet GUI toolkit dedicated to "debugging" > or scientific computing. It is far from a complete GUI system (like > kytten or simplui) but rather aims at a quick and fast solution for > displaying/editing variables and pressing buttons. > > Screenshot: http://www.loria.fr/~rougier/tmp/glydget.png > Sources: http://www.loria.fr/~rougier/tmp/glydget.tgz > > Example usage: > > a = 1 > dialog = Dialog('dialog', [Variable('a', namespace=locals())]) > dialog.show() > window.push_handlers(dialog) > > @window.event > on_draw() > window.clear() > dialog.batch.draw() > > (rendering is done using rectangle and text only (no image) using a > single batch.) > > > One 'trick' that might interest kytten or simplui is to replace > editable entries with an 'ellipsized' label when they're not edited, > it makes things faster (see entry.py sources). > > Nicolas > Looking good - and very neat little variable wrapper there, I was brainstorming the other day on how to emulate C++'s pass-by-reference semantics for this very purpose ;) -- Tristam MacDonald http://swiftcoder.wordpress.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
