[ Previous |
Motif and CDE 2.1 Style Guide Reference
A window title is a label placed in the area in a title bar that names a
Figure 78. Window Title.
When to Use
RequiredProvide a title for every window.
RequiredUse a short description of the contents of the window as a title.
RequiredPlace the window title in the title bar of the window frame.
RequiredIf a user sizes a window so that all of the title cannot be displayed in
the title bar, clip the window title from the end.
RecommendedCenter the window title in the title bar.
RequiredDo not change the name of an object being viewed in the window as a result
of the user modifying the window title.
RecommendedAllow a user to directly edit a window title in the title bar by
double-clicking the SELECT button on it.
RecommendedIf the user can directly edit the window title, provide a choice on the
window menu that allows the title to be changed, for example, by including a
Properties or a Rename choice.
Include the name of the application in a primary window's window title
if any of the following are true:
The application does not have a state or contents that needs to be named
and persistently stored
The window is used to view a single file or object and is not the default
application used to view that file or object
The window is used to view multiple files or objects
RequiredIf an application is used to view a single file or object, include the
name of the file or object in the primary window's window title,
following the name of the application, if necessary.
RequiredWhen different primary windows of the same application are used for
different views or purposes, append the name of the view or purpose to the
RequiredFor a context-sensitive help window, append the Help choice to the title
of the window for which help is being requested.
RecommendedIf a generated window title would be a copy of another window title,
append a colon (:) and unique number to the title of each of those
windows. For example, if two views are open on a file, label them
Filename:1 and Filename:2.
RecommendedUse special characters not otherwise used, for example, underscores, to
separate the various components of the window title.
Include in the title of a secondary window (other than one holding a
torn-off control) the title (or a portion of the title likely to be unique) of
the window it is dependent upon.
RequiredInclude in the title of a secondary window (other than one holding a
torn-off control), one or more of the following:
The type or purpose of the window (such as dialog or property)
The name of the action, task, or situation that caused the window to be
Supplemental Related Topics
For more information, see the Object, Primary Window, Secondary Window,
and Tear-Off Menu (Menu Type) reference pages.
[ Previous |