XPToolkit Menu Requirements

Written by Chris Saari
Last Modified by: Chris Saari
Last Modified: 3/9/99


This document covers the menu bar, menu lists, and menu items. This does not cover context menus, although they should be very similar. This does not cover popup menus, those are a seperate widget. This does not cover keyboard equivalents or accelerators for menus, pending more work in that area. This lightly touches menu/command merging, but that is very preliminary.

A menu item is a line item in a visible UI menu. It has text (displayed visually) and may contain a shortcut key (cmd-Q for example). A menu item can be enabled or disabled separately from the other items around it. A special kind of menu item, called a separator, is visually represented as a disabled horizontal line with no text.

A menu list corresponds to an entire UI menu, and is a sequential ordered list of menu items. A menu list may be hierarchical and have sub-menu lists hanging off of items.

A menu bar is an ordered collection of menu lists. Menu bars are used to present several menus, usually in a non-transient way. Context menus, for example, would not use a menu bar since they are only displaying a single transient menu.


Menu Bars

Menu List

Menu Items

Menu Item Arbitration / Merging

We are unclear at this time if Menu Merging is a requirement.

Questions, comments, or concerns about this document should go tonetscape.public.mozilla.xpfe