clickndrag - 0.4.0
Florian Berger (fberger)
Mouse-sensitive sprites. Hierarchical windows. Drag and drop. All with one new class. No messing with your main loop.
The clickndrag module introduces the "Plane" class which extends PyGame's "Surface" functionality, offering a hierarchy of mouse-sensitive, draggable Surfaces that can be used as sprites, windows, icons or other interactive elements.
In addition, the clickndrag.gui module uses clickndrag to provide basic GUI elements like container, label, text box, option list and button.
Numerous changes to make clickndrag compatible with Python 2.x. Tested with Python 2.6.5 and Python 3.1.2, using Pygame 1.9.1.
clickndrag supports Python 2.6 alongside Python 3 now!
If you wish to leave a comment, please sign in first.