Common Desktop Environment: Style Guide and Certification Checklist

Window Decorations

 

n/a 

 

 

 

Required 

ab: 

Windows that support particular window management functionality must request the corresponding window decoration (for example, a window that can be minimized should request the minimize button). 

Required 

ac: 

Windows that support any window management functionality (move, resize, minimize, maximize, close, and others) must have a window menu with items for that functionality. 

Required 

ad: 

Follow Common Desktop Environment window decoration conventions, as shown in Table 10-1.

.

Table 10-1 Common Desktop Environment Window Decoration Conventions

 

Border 

Title 

Menu 

Min 

Max 

Resize 

Primary Window: 

Default 

Front Panel 

 

Yes 

Yes [The Front Panel has custom visuals for the window decorations.]

 

Yes 

No 

 

Yes 

Yes2

 

Yes 

Yes 

 

Yes [Decorations for resize and maximize should be provided for primary windows if appropriate.]

No 

 

Yes1

No 

Secondary Window: 

Default 

Front Panel 

 

Yes 

No 

 

Yes 

Yes 

 

Yes 

Yes 

 

No 

No 

 

No [Secondary windows should be designed such that resizing and maximization are not necessary or appropriate. If a secondary window must be resizable and maximizable, the associated decorations should be displayed.]

No 

 

No3

No 

 

n/a 

 

 

 

Required 

ae: 

Follow Common Desktop Environment window menu conventions. Items should appear in the window menu if they are applicable to the window or its minimized window icon. 

  • Restore (R)

  • Move (M)

  • Size (S)

  • Minimize (n)

  • Maximize (x)

  • Lower (L)

  • Occupy Workspace ... (O)

  • Occupy All Workspaces (A)

  • Unoccupy Workspace (U)

  • Close (C) Alt+F4

Optional 

af: 

Applications should not add items to the window menu. If an extraordinary requirement has an application add items to the window menu, the items should be appended to the end of the menu with a separator between Close and the application items. 

Optional 

ag: 

Accelerators, aside from Alt+F4 for Close, should not be used in the window menu (to minimize conflict with other uses of the Alt key for application accelerators, localization, and others).