[Contents] [Prev. Chapter] [Next Section] [Next Chapter] [Index] [Help]

E    Summary of XUI and Motif Differences

This appendix summarizes the differences between the XUI and Motif interfaces in the following areas:

Appendix F contains a list of widget naming differences.


[Contents] [Prev. Chapter] [Next Section] [Next Chapter] [Index] [Help]

E.1    Terminology

Table E-0 lists terminology differences between the XUI and Motif interfaces.

Table E-0:  Terminology Differences Between 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


[Contents] [Prev. Chapter] [Prev. Section] [Next Section] [Next Chapter] [Index] [Help]

E.2    Windows and Window Managers

Table E-0 lists differences between XUI and Motif windows and window managers.

Table E-0:  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.


[Contents] [Prev. Chapter] [Prev. Section] [Next Section] [Next Chapter] [Index] [Help]

E.3    Menus and Menu Items

Table E-0 lists the differences between the XUI and Motif window menu items.

Table E-0:  Motif Window Menu Items and Functions

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


[Contents] [Prev. Chapter] [Prev. Section] [Next Section] [Next Chapter] [Index] [Help]

E.3.1    Menu Bar and Standard Menus

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.

Table E-0:  Differences Between the XUI and Motif Menus in the Menu Bar

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.


[Contents] [Prev. Chapter] [Prev. Section] [Next Section] [Next Chapter] [Index] [Help]

E.3.2    File Menu Items

Table E-0 lists the File menu items and describes the differences between the XUI and Motif interfaces.

Table E-0:  Differences Between the XUI and Motif File Menu Items

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.
Print 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.


[Contents] [Prev. Chapter] [Prev. Section] [Next Section] [Next Chapter] [Index] [Help]

E.3.3    Edit Menu Items

Table E-0 lists the Edit menu items and describes the differences between the XUI and Motif interfaces.

Table E-0:  Differences Between XUI and Motif Edit Menu Items

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.


[Contents] [Prev. Chapter] [Prev. Section] [Next Section] [Next Chapter] [Index] [Help]

E.3.4    Help Menu Items

The XUI and Motif Help Menu Items are shown in Table E-0.

Table E-0:  Differences Between the XUI and Motif Help Menu Items

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.


[Contents] [Prev. Chapter] [Prev. Section] [Next Section] [Next Chapter] [Index] [Help]

E.4    Mouse Button Behavior

Table E-0 provides a list of differences between the XUI and Motif mouse button behavior.

Table E-0:  Differences in the XUI and Motif Mouse Buttons

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.


[Contents] [Prev. Chapter] [Prev. Section] [Next Section] [Next Chapter] [Index] [Help]

E.5    Standard Message Boxes

Motif message boxes often have a Help push button in the lower right corner.


[Contents] [Prev. Chapter] [Prev. Section] [Next Chapter] [Index] [Help]

E.6    Keyboard Behavior

Table E-0 provides a list of differences between the XUI and Motif keyboard behavior. These changes apply to both mwm and twm.

Table E-0:  Differences in the XUI and Motif Keyboard Mappings

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.


[Contents] [Prev. Chapter] [Prev. Section] [Next Chapter] [Index] [Help]