Skip to main content

Pygame Dock

An attempt at emulating the Dock menu in Mac OSX.


David
(animatinator)

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

Releases

Pygame Dock 1.0 — 13 Feb, 2010

Pygame.org account Comments