Toolbar class allows you to create toolbar gadgets for your windows.
Toolbars can be displayed either as images, images and text, or text
only. This class requires the MUI custom class TheBar.mcc
.
TheBar.mcc
is Copyright (C) 2003-2005 Alfonso Ranieri and
Copyright (C) 2005-2009 TheBar Open Source Team
It is released and distributed under the terms of the GNU Lesser General Public License (LGPL) and available free of charge.
Please visit http://www.sf.net/projects/thebar/ for the very
latest version and information regarding TheBar.mcc
When declaring a toolbar gadget in XML code, you always need to add at least one toolbar button to it. This is done using Toolbarbutton class. Here is an example XML declaration of a toolbar with three buttons:
<toolbar horiz="true"> <button image="1">Cut</button> <button image="2">Copy</button> <button image="3">Paste</button> </toolbar> |
In the XML declaration above, toolbar button 1 will use Hollywood brush 1 as its image, button 2 will use brush 2, and so on. Toolbar buttons can use many more options like special images for selected and disabled states, help bubbles, and more. See Toolbarbutton class for details.