[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
Motif and CDE 2.1 Style Guide Reference
Close (Choice)
Reference
Description
Close is an action choice that removes a window and all of the windows
dependent on it from a screen.
When to Use
RequiredProvide the Close choice in the window menu of every window.
RecommendedIn a secondary window, use the Close choice as a push button instead of
Cancel if Close would be more appropriate or less ambiguous.
RecommendedProvide a Close choice in the File menu if the window can be closed
independently of other primary windows.
Guidelines
RecommendedProvide the Close choice as a push button in a secondary window if the
window is used only to present status information to the user.
RecommendedIf the effect of activating a choice or choices in a secondary window is
irreversible, then the Close choice can replace the Cancel choice after the
first irreversible action.
RecommendedWhen closing a window, save its state (including its position, size,
dependent secondary windows, and associated messages that are currently
displayed) so that they can be restored if the window is opened at a later
time.
RequiredWhen a user activates the Close choice for the last primary window
displayed for an application, remove all dependent secondary windows and exit
from the application.
RequiredWhen a user activates the Close choice for a window, remove the window and
any dependent secondary windows.
RequiredUse a Close push button to close an in-progress message window without
affecting the task in progress. Do not terminate the task when a user presses
the Close push button in an in-progress message window.
RequiredIf information in a primary window could be lost when the user activates
the Close choice, display a warning message.
RecommendedIf information in a secondary window could be lost when the user activates
the Close choice, do not display a warning message.
Essential Related Topics
For more information, see the Exit (Choice), File Menu, Push Button
(Predefined), and Window Menu reference pages.
Supplemental Related Topics
For more information see the Menu Guidelines reference page.
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]