This appendix summarizes the differences between the XUI and Motif interfaces in the following areas:
Terminology
Windows and window managers
Menus and menu items
Mouse button bindings
Standard message boxes
Keyboard behavior
Appendix F contains a list of widget naming differences.
Table E-0 lists terminology differences between the XUI and Motif interfaces.
XUI Interface | Motif Interface |
Dialog box, modal | Dialog box, primary application modal, application modal, or system modal |
Direct manipulation interface | Graphical user interface |
End box (in a dialog box) | Command line (in a dialog box) |
Exit (menu item) | Exit (menu item). Unlike XUI Exit, you are prompted for whether you want to save the file |
Ghost | No equivalent |
Hierarchical dialog boxes | Secondary windows XUI does not talk about secondary windows, and OSF does not talk about hierarchical dialog boxes |
Icons | Icons or minimized windows |
Maximum sliders, minimum sliders | Sliders (no distinction) |
No equivalent | Maximize |
No equivalent | Stepper buttons |
No equivalent | Sash (window sash) |
Option box | Option menu |
Pointer speed | Gain |
Push to back | Lower |
Quit (menu item) | Exit (menu item). You are prompted for whether you want to save the file |
Radio icons | No equivalent |
Scales, scroll bars, sliders | Valuators (includes scales, scroll bars, and sliders) |
Shrink to icon | Minimize |
Stepping arrows | Stepper arrows |
Submenu | Cascading menu |
Terminal Screen | Workspace |
Text Entry Field | Entry box |
Text insertion character | Insertion cursor |
Toggle button | Check button |
Work area | Client area |
Table E-0 lists differences between XUI and Motif windows and window managers.
XUI Interface | Motif Interface |
Does not have a root menu. | Has a root menu (a menu that pops up in the root window when you press the Select button in a blank area of the root window). |
Shrink-to-icon button is in upper left. | Shrink-to-icon (minimize) button is the left-hand button of the two buttons in the upper right. |
Does not have a window menu. | Has a window menu (a menu that pops up in the window when you press the Menu button). |
Has a resize button in the far right. | Has a resize border and resize handles. |
The default window manager has an icon box. | The window manager has an icon box, but by default does not display an icon box. |
The text label in the title bar is left-justified. | The text label in the title bar is centered. |
Only has explicit focus policy. | Has both explicit (pointer) focus and implicit focus. |
Has a push-to-back button. | Has a lower menu item. |
Table E-0 lists the differences between the XUI and Motif window menu items.
Function | XUI Action or Object | Motif Menu Item |
Return a window to original size after it has been shrunk to an icon or enlarged. | Resize button | Restore |
Change the location of a window. | Press and drag on the title bar | Move |
Change the size of a window. | Resize button | Size |
Shrink a window to an icon. | Shrink-to-icon button | Miminize |
Enlarge a window to cover the whole screen. | Resize button | Maximize |
Send a window to the back or bottom of the window stack. | Push-to-back button | Lower |
Close a window and remove it from the workspace. | Not in XUI | Close |
Table E-0 lists the standard menus in each menu bar, and describes the differences between the XUI and Motif interfaces. The XUI interface uses dotted lines as separators; the Motif interface uses solid lines.
XUI Menu | Motif Menu | Explanation |
File | File | Mainly the same menu items. |
Edit | Edit | Mainly the same menu items. |
View | Some XUI applications have a View menu. | |
Customize | Options | Motif provides no specific menu items; the menu items are application specific. |
Font | No equivalent in Motif. | |
Help | Help | Menu items have different names, some similar functions. |
Table E-0 lists the File menu items and describes the differences between the XUI and Motif interfaces.
Menu Item | XUI Interface | Motif Interface |
New | Creates an empty copy of window; does not affect the previous window. | Clears the existing window; does not provide a new window. To continue to have the XUI "new" capability, include a check button in your File Selection box labeled "Open in New Window." |
Open . . . | Generates a dialog box that allows users to open an existing file. | Same in Motif. |
Include | Generates a dialog box that allows users to add the contents of a specified file. | Not standard in Motif, but use it if appropriate. |
Revert | Generates a dialog box that allows users to erase current work and revert to last saved version of file. | Not standard in Motif, but use it if appropriate. |
Prints the current file using the current settings of a Print dialog box without displaying the box. | Exists in Motif; in Motif, Print covers Print... as well. | |
Print . . . | Generates a Print dialog box that allows users to set printing parameters and print the current file. | Not standard in Motif, but Motif Print menu item pops up a dialog box if printing information is required. |
Quit | Shuts down application; prompts for saving if current version has not been saved. | Does not exist in Motif. |
Close | Closes the window, leaving the other windows in the application. | Removes the primary and associated secondary windows from the workspace, in applications that have more than one primary window. Closing the last primary window of an application causes the application to exit. If data will be lost, the application must prompt users to save changes. The Close menu item from the File menu should have the same effect as the Close menu item from the Window menu. |
Exit | Saves file and shuts down application. | Shuts down application, and prompts for saving if the current version has not been saved. |
Table E-0 lists the Edit menu items and describes the differences between the XUI and Motif interfaces.
Menu Item | XUI Interface | Motif Interface |
Undo | Reverses the effects of a previous operation. | Same in Motif. |
Redo | Redoes an operation after it has been undone. | Not in Motif, but you can add it if appropriate. |
Cut | Transfers currently selected information to the clipboard and deletes the information from the application. | Same in Motif. |
Copy | Transfers the current selection to the clipboard without altering the information in the application. | Same in Motif. |
Paste | Copies information from the clipboard into the application and retains that information in the clipboard. | Same in Motif. |
Clear | Deletes the current selection. | Same in Motif. |
Delete | Not in XUI. | Removes selected portion of data from application and compresses the rest of the data to fill the space that the deleted data occupied. |
Select All | Selects all the data in the file. | Not in Motif, but you can add it if appropriate. |
The XUI and Motif Help Menu Items are shown in Table E-0.
Menu Item | XUI Interface | Motif Interface |
Overview | Provides general information about the window from which help was requested. | On Window. |
About | Provides the name and version of the application. | On Version. |
Glossary | Provides definitions of terms. | On Terms. |
On Context | Does not exist as a menu item in XUI. In XUI, users press the Help key and any mouse button. | Initiates context-sensitive help. |
On Help | Does not exist in XUI. | Provides information on how to use your application's Help facility. |
On Keys | Does not exist in XUI. | Provides information about your application's use of function keys, mnemonics, and accelerators. |
Index | Does not exist in XUI. | Provides an index for all Help information in your application. |
Tutorial | Does not exist in XUI. | Provides access to your application's tutorial. |
Table E-0 provides a list of differences between the XUI and Motif mouse button behavior.
Mouse Button | XUI Interface | Motif Interface |
MB1 | Used for selection. | Used for selection. Called the Select button. |
MB2 | Used to display pop-up menus. | Used for direct manipulation of objects and other application-specific needs. Called the Menu button. |
MB3 | Used for application-specific needs, and for Copy To and Copy From operations, if your application supports them. | Used to display pop-up menus. Called the Custom button. |
Motif message boxes often have a Help push button in the lower right corner.
Table E-0
provides a list of differences between the XUI and Motif keyboard behavior.
These changes apply to both
mwm
and
twm
.
Key | XUI Interface | Motif Interface |
Compose | Used as
Meta
key. |
Used for initiating compose sequences. |
Alt Function | Does not exist on an ULTRIX system. | Used as
Meta
key. |
Use either the
xmodmap
or
dxkeycaps
program to customize keyboard mappings.