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.

Screenshot

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 :)