Common Desktop Environment: Style Guide and Certification Checklist

Toolbars

 

n/a 

 

 

Required 

fd: 

If you use a tool bar, it should be used only in windows with a menu bar. 

Required 

fe: 

Tool bars should contain only operations that are already available to the user in your application menus. All items in a tool bar should be redundant. 

Required 

ff: 

When an action represented by a tool bar icon is unavailable to the user, that icon should be made insensitive, with the associated stippled appearance. Whenever a menu item is made insensitive, the corresponding tool bar item must be made insensitive as well. 

Recommended 

fg: 

Give users the option to hide the tool bar. 

Required 

fh: 

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. 

Recommended 

fi: 

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. 

Recommended 

fj: 

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

Recommended 

fk: 

Drawn buttons in the tool bar should be the same width and height. Similar or related items should be grouped, and groups should be evenly spaced across the tool bar. 

Recommended 

fl: 

All pixmaps in the tool bar should be the same size. 

This ensures that all the tool bar buttons are the same size. 

Recommended 

fm: 

The recommended size of the pixmap is 24x24. The default for the drawn button is to resize itself according to the size of its label type, which, in this case, would be a pixmap.