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

Pygame Dock - 1.0

David (animatinator)

Tags:

Description

My attempt at recreating the shiny dock menu from OSX in Pygame. It's designed so that you can easily stick it into another project, and you can customise its size and position and suchlike using the arguments in its init() function. There are explained in a comment in 'dockmenu.py'. 'Main.py' provides an example implementation of the menu with a background image, in which clicking on the menu will print the index of the selected item. Run 'dockmenu.py' and 'dockicon.py' to see demos of the menu and a single icon respectively. To see a demo video of the menu in action, go to http://vimeo.com/9423534.

Links

Home Page: http://www.pygame.org
Source: http://uploader.polorix.net//files/123/Pygame%20Dock.zip
Windows: http://uploader.polorix.net//files/123/Pygame%20Dock.zip
Mac: http://uploader.polorix.net//files/123/Pygame%20Dock.zip

Screenshot


click to view original size

Releases

Pygame Dock - 1.0 - Feb 13, 2010

Comments

If you wish to leave a comment, please sign in first.

February 13, 2010 4:21pm - David - nickname: (animatinator)
Odd, it runs quite quickly on my (relatively old) Windows machine. You could probably speed it up by replacing the pygame.transform.smoothscale()s with pygame.transform.scale()s anyway - the images would be pixellated, but it'd run a lot faster. Apart from that I can't think of much that'd be slowing it down. I'll look into it though :)
February 13, 2010 2:38pm - Francesco Pasa - nickname: (frapa) - 3/5
on my ubuntu karmic the program is very very slow.

You must increase the performanceses
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Feb 13, 2012

Jul 5, 2011

Apr 17, 2011

Apr 16, 2011

Apr 15, 2011


Apr 14, 2011



Apr 12, 2011

Apr 11, 2011


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