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


Window Frame

Reference

Description

A window frame includes the following:

Window frame
The outer area of a window, which supports window management functions. The window frame includes the title bar, minimize button, maximize button, window menu button, and sizing borders.

Title bar
The area at the top of each window that contains a window title; the window menu button; maximize, restore, and minimize buttons, if needed; and any other buttons as appropriate.

Figure 73. Window Frame.




View figure.

When to Use

Required
Provide a window frame and title bar in all windows, except those that are part of the workspace.

Required
Do not place any window control outside the boundary formed by the sizing border.

Guidelines

Required
The window menu button should represent a cascading choice that leads to the display of the window menu.

Required
Support moving a window when the user presses either the SELECT or TRANSFER button on the title bar and moves the mouse.

Required
Align the bottom of the title bar with the top of the client area.

Required
Place the window title in the title bar.

Required
If you provide a maximize and a restore button (only one of which is displayed at a time), align the button's right border with the right border of the client area.

Required
Place the right border of the minimize button next to the left border of the maximize or restore button.

Required
Align the left border of the window menu button with the left border of the client area.

Required
If you add more buttons for window manager functions on the window frame, place the buttons directly to the left of the minimize button or directly to the right of the window menu button. Design each button to correspond to a choice in the window menu.

Recommended
Display the window menu button with a bar graphic.

Recommended
Display the minimize button with a small raised square.

Recommended
Display the maximize button with a large raised square.

Recommended
Display the restore button with a large indented square.

Essential Related Topics

For more information, see the Maximize (Choice), Minimize (Choice), Window Menu, and Window Title reference pages.

Supplemental Related Topics

For more information, see the Input Focus and Workspace reference pages.


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