accompanies a warning message. The default value is XmBELL, but the resource can also be set to XmNONE. The
value of the XmNverifyBell resource of the Text and TextField widgets is based on the new VendorShell resource.
The VendorShell defines the XmNbuttonFontList, XmNlabelFontList, and XmN-textFontList
resources to replace the existing XmNdefaultFontList resource. The new resources specify the font lists for the
specific types of children of the VendorShell.
The VendorShell also defines the XmNinputMethod and XmNpreeditType resources for controlling
internationalized text input. XmNinputMethod specifies the input method for the application, while
XmNpreeditType indicates the input method styles that are available. The syntax and possible values of both of
these resources are vendor−specific, as discussed in Section #stexti18n in Chapter 14, Text Widgets.
4.5.3 Changes to the Example Programs
All of the example programs in this book have been updated to Motif 1.2 and X11R5. Some of the changes are quite
repetitive and are described in the following list:
A call to XtSetLanguageProc() has been added to the beginning of each example program, as described
in Section #slangproc.
•
Any calls to XmStringCreateSimple() have been replaced with calls to
XmStringCreateLocalized(), as explained in Section #sstringloc.
•
Any references to XmSTRING_DEFAULT_CHARSET have been replaced with references to
XmFONTLIST_DEFAULT_TAG, as discussed in Section #sfonttag.
•
Any calls to XmFontListAdd() and XmFontListCreate() ...