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

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

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, 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
Dec 16, 2014


Dec 14, 2014

Dec 9, 2014

Dec 6, 2014

Dec 5, 2014

Dec 3, 2014

Nov 27, 2014


Nov 13, 2014

Nov 11, 2014


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