IconBar

Release: 16/10/2001

The main feature of the iconbar.py program is the placing of an icon on the icon bar. This is achieved by the following lines:

sprites = app.Sprite()
sprites.system()
icon = app.IconBar((sprites, 'file_ffd', ''))

A sprite area object is set up by the use of the Sprite class. This object is made to refer to the system sprite area as a result of the system method. It is then possible to add an icon to the icon bar by instantiating an IconBar object using the sprite area object and asking for the "file_ffd" data filetype sprite.

Note that the icon will by default appear on the right hand side of the icon bar along with the other applications.


David Boddie
david@boddie.org.uk