pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Albow

Albow - 2.2

Gregory Ewing (gcewing)

Tags:

Description

This is a rather simple, no-frills GUI library for PyGame, developed for use in my PyWeek competition entries. I am documenting and releasing it so that others can benefit and so that it may be used in future PyWeek competitions.

Changes

New features:
  • Multichoice controls.
  • New, more powerful Ref object supersedes AttrRef and ItemRef.
  • Theme.add_theme() method.
  • Events have a 'time' field.
Enhancements:
  • Added equalize option to Row and Column.
  • Adaptor to turn a Ref into a callable object.
  • Added add_anchor() and remove_anchor() methods to Widget.
Modifications:
  • Root and Screen now have a timer_event() method taking the event as a parameter. This supersedes the begin_frame() method.
  • The update_every_event flag has been removed and replaced with a defer_drawing() method that is delegated to the current Screen.
  • Default resource dir may be named either "Resources" or "resources".
  • Now using time.sleep() for frame timing instead of pygame timer, for better timing accuracy.
  • The 'expand' argument to Row and Column no longer defaults to the last item.
  • Grid now honours the margin attribute.
Bug fixes:
  • OpenGL widgets did not work in single-buffered mode.
  • Improved handling of timer events to give smoother degradation of frame rate when rendering time exceeds frame time.
  • Fixed a compatibility problem with PyOpenGL 3.0.1.
  • 2-dimensional ImageArray with 1 row was treated as 1-dimensional.
  • Mentioning a 2D image array in a boolean context did not work. Cacheing of 2D image arrays did not work as a consequence.
  • Improved error message for attempting to use len() on a 2D image array.
  • Row and Column crashed if given an empty item list.
  • Removed call to obsolete reset() method of level objects.
Documentation:
  • Added links to GL widgets to the contents page.
  • Documented the new Ref system for linking controls to values.

Links

Home Page: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Albow
Source: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Albow/Albow-2.2.0.zip

Screenshot


click to view original size

Releases

Albow - 2.2 - Jan 29, 2014
Albow - 1.1 - Sep 24, 2007
Albow - 1.0 - Dec 6, 2006

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

April 16, 2011 9:40pm - Kyra Cleverruse - nickname: (kyre)
Ah, thanks Zach
March 1, 2011 3:32pm - Zachariah Callaway - nickname: (xzcallaway)
A .deb package of Albow is available for download at dotdeb.com in the Programming section.
May 9, 2010 10:59am - jake b - nickname: (ninmonkey)
There's a version from 2009 at the site: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Albow/
September 25, 2007 12:40am - Lamonte Harris - nickname: (lamonte)
Can you show the examples standard files by them selves?
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Apr 21, 2014


Apr 19, 2014

Apr 16, 2014

Apr 13, 2014

Apr 9, 2014

Mar 18, 2014


Mar 15, 2014


Mar 14, 2014

Mar 13, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)