Common Desktop Environment: Style Guide and Certification Checklist

Tool Bar Container

The tool bar uses a container component to provide a layout mechanism for the drawn buttons that make up a tool bar. You may choose most any container for the tool bar, as long as it allows for the specified behavior.



The tool bar container is placed directly under the menu bar and should be the same width as the window, as well as similar height to the menu bar. 



If you use a tool bar in your application, then you should provide a status line in the same primary window as the tool bar. 

This status line should provide immediate feedback to the user as to the purpose of the button that the mouse is currently over or that has the keyboard focus. When the arrow is over a tool bar icon, the status line should display a brief definition of what the icon represents or what will happen when the user clicks the icon. 



You may provide labels under tool bar icons. These labels should serve to explain the purpose of the icon.