Download List

Project Description

Click'n'Drag is a Python module that 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.

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2011-07-30 06:44
0.4.1

gui.OptionList can now be embedded in more complex dialogs, with gui.OptionSelector as a drop-in replacement. gui.Container now shrinks horizontally when a subplane is removed. An 'insert_after' argument has been added to Plane.sub() to render related subplanes without others in between. Plane.sync() uses the offset between Plane centers now, avoiding alignment problems with dynamic Planes. gui.OutlinedText now saves and restores the center upon a text change. The default background color settings have been fixed. Wrapping at newlines has been added to gui.OkBox. There are several fixes for Python 2.6 distutils. The documentation has been updated.

2011-03-29 00:38
0.4.0

Numerous changes were done to make clickndrag compatible with Python 2.x. It was tested with Python 2.6.5 and Python 3.1.2, using Pygame 1.9.1.

2011-03-24 07:23
0.3.0

Improved cx_Freeze compatibility. TextBoxes now display a cursor. Planes now have callbacks for left and right mouse button. The position of a Plane can now be synced to another Plane. The class OutlinedText, which implements a label with a transparent background and outlined bold text, has been added. The Display class now accepts a "fullscreen" argument. There are documentation updates.

2011-03-11 20:55
0.2.0

Proper GPL licensing notice was added. Performance improvements were made. Planes now use per-pixel alpha only when neccessary, and video RAM is used if available. Clickndrag now includes Bitstream Vera as the default font. gui.TextBox and gui.GetStringDialog can now be confirmed using the RETURN key. Showcase clickndrag-interactive.py was added. The documentation was updated.

2011-01-12 22:58
0.1.0

This is the first alpha release. The API is still likely to change. API docs are provided, but examples and how-tos are still missing.

Project Resources