Level: Expert
Toolbar is a row of icons in a graphical user interface that are used to activate the functions of an application or operating system. Toolbar is represented as a panel with small icons or similar components. A toolbar can be moved by its position. It can be also visibled/invisibled. This article demonstrates toolbar implementation for PyS60 applications which is known as CanvasToolbar.
CanvasToolbar adds functionality and facilities for user's convinience. The toolbar illustrated in this article can be used with Non-Touch devices as well as Touch devices, with moving position and enabling/disabling functions.
This CanvasToolbar is originally made in Python for S60. The author Marcelobarros has used canvas image objects with a code snippet explaining how the set of icons created with same size and load them as a list of image objects. These are created on the screen with the class CanvasToolbar. Moreover, Toolbars with transparency is also possible.
The toolbar explained in the article has been implemented on a Python script, scribble.py for touch enabled devices. It demonstrates how Scribble could be recreated when used together with toolbar on canvas.
Nirpsis 06:29, 7 September 2009 (UTC)
This article gives knowledge to the programmer that how he can add icon and toolbar in the canvas of the phone screen. Useful coding is given by which user change some program line and add their own icon in their devices.