| United States-English |
|
|
|
![]() |
Common Desktop Environment: Programmer's Guide > Chapter 7 Common
Desktop Environment Motif WidgetsUsing Motif in the Common Desktop Environment |
|
The The Common Desktop Environment includes Motif 2.1, plus four custom widgets. The custom widgets are described in detail in this chapter. The Common Desktop Environment is source and binary compatible with Motif 1.2 applications. Existing Motif 1.2 applications will compile using Motif 2.1 include files. Existing Motif 1.2 binaries will run without modification using Motif 2.1 libraries. Use the Motif 2.1 and X11R6.2 libraries to develop a Common Desktop Environment Motif-compliant application for the X Window System. The Motif User Interface Language (UIL) is a specification language for describing the initial state of a Motif application's user interface. The Motif Resource Manager (MRM) creates widgets based on definitions contained in User Interface Definition (UID) files created by the UIL compiler. MRM interprets the output of the UIL compiler and generates the appropriate argument lists for widget creation functions. Use libMrm to access the Motif Resource Manager. Include the Mrm/MrmPublic.h header files to access libMrm in your application. Motif 2.1 contains minor enhancements to enable better usability by OPEN LOOK and Microsoft Windows users. The usability enhancements include:
Each of the preceding enhancements can be controlled by a resource: either a widget resource (for XmFileSelectionBox) or an application-wide resource (all other cases). The default values for this resource provide behavior and an API that is identical to that of Motif 1.2. For information on these enhancements and resources, see the XmDisplay(3x) and XmFileSelectionBox(3x) man pages. Common Desktop Environment changes the default Motif look in the following ways:
An application-wide resource can control each of these enhancements. The default Motif 2.1 values for these resources provide behavior and an API that is identical to that of Motif 1.2. For information on these enhancements, see the XmDisplay(3), XmPushButton(3), XmPushButtonGadget(3), XmToggleButton(3), XmToggleButtonGadget(3), and XmScale(3) man pages. |
|||||||||||||||||||||||||||||||
|
|||||||||||||||