[ Previous | Next | Contents | Glossary | Home | Search ]
Motif and CDE 2.1 Style Guide Reference


Notebook (Control)

Reference

Description

A notebook is a multipage control for a linearly ordered set of pages that supports the use of notebook tabs as paging controls. It consists of the following elements:

Notebook tab
A kind of action choice used as a paging control within a notebook to make the page corresponding to the notebook tab visible.

Major tabs
A linear sequence of notebook tabs that identifies the important pages in a notebook or organizes the notebook into sections.

Minor tabs
A linear sequence of tabs that identifies important pages within the sections determined by the major tabs.

Bookmark tabs
A set of tabs that corresponds to pages, dynamically identified as a result of user action.

Section
An associated contiguous group of pages in a notebook.

Figure 44 is an example of a simple notebook.

Figure 44. Notebook.




View figure.

When to Use

Recommended
Use a notebook when more than a small number of pages are to be used in a multipage control.

Recommended
Use a notebook when the pages in a multipage control are best organized in sections.

Guidelines

Required
Provide a spin box paging control for paging through the notebook.

Required
If there is insufficient space to display a group of notebook tabs, the layout is clipped and arrow buttons (action choices that cannot take focus) are displayed on the ends of the group to scroll the visible set of tabs.

Recommended
When the pages in a notebook can be organized into sections, provide a set of major tabs to directly access the first page of a section.

Recommended
When some pages within a section associated with a major tab have greater importance than other pages in the section, provide a set of minor tabs to directly access the important pages.

Recommended
Lay out the major tabs vertically along the right side of the notebook page and lay out the minor tabs horizontally below the notebook page in order of the corresponding pages. For information on bidirectional and vertical language support, see Chapter 11.

Optional
Provide one or more sets of bookmark tabs, additional paging controls, and other controls for displaying status in a notebook.

Required
The action associated with a notebook tab displays its corresponding page.

Required
Allow directional keys to navigate to all the notebook tabs in a group, including those that are not currently visible (navigating to one makes it visible).

Required
When the user uses the keyboard to activate a notebook tab, leave focus in the notebook tab.

Optional
When the user uses the mouse to activate a notebook tab, move focus to the page displayed.

Required
Organize the major tabs in a notebook into a single tab group.

Required
Organize the minor tabs corresponding to pages within a section associated with a major tab into a single tab group.

Required
Organize any paging controls (other than notebook tabs) into one or more sets of tab groups.

Required
Organize any bookmark tabs into one or more sets of tab groups.

Required
Make the minor tabs for a section of a single-page notebook visible only when the currently visible page is within that section.

Required
When tab group navigation is used to traverse to a group of major or minor tabs in a single-page notebook, place focus on one of the following:

  1. The notebook tab for the currently visible page

  2. The nearest notebook tab preceding the currently visible page

  3. The first notebook tab in the group

  4. Required
    Traverse the tab groups within a single-page notebook in the following order:

    1. Tab group(s) of the visible page

    2. Any nontab paging controls

    3. Bookmark tabs

    4. Major tabs

    5. Minor tabs

    6. Traversable status controls

    7. Essential Related Topics

      For more information, see the Multipage Control (Control Type) reference page.


      [ Previous | Next | Contents | Glossary | Home | Search ]