24.05.2014 Views

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8.3.4 Miscellaneous Enhancements<br />

The following sections describe various Motif enhancements:<br />

8.3.4.1 Printing<br />

Starting with Release 2.1, Motif includes support for printing using an X<br />

protocol-based print server. This print server produces output in three formats:<br />

PCL, PostScript, and Raster.<br />

8.3.4.2 Thread-Safe Libraries<br />

Xm and Mrm are thread-safe-enabled. This means that the libraries themselves<br />

are thread-safe, and a multithreaded application need not do explicit locking<br />

when accessing these libraries.<br />

8.3.<strong>4.3</strong> File Selection Box<br />

The Motif File Selection Box offers a powerful, but complex, filtering mechanism<br />

for file selection. It offers all the power of the UNIX file system to users. The CDE<br />

User Model group, however, has come up with a design that seems better-suited<br />

for the average user.<br />

The CDE File Selection Box replaces the regular filter control with two controls:<br />

the base directory entry and a wild-card entry for file name pattern. Only the<br />

subdirectories are shown in the directory list and the file names in the file list.<br />

Hence, scroll bars are not needed in this case.<br />

OSF did not want to make obsolete the documentation for existing applications.<br />

They also wanted to maintain the old Motif 1.2 behavior. For these reasons, they<br />

decided to maintain both the old and the new styles. However, the new CDE style<br />

has become the default since it is more intuitive for most users.<br />

8.3.4.4 String Manipulation<br />

Motif offers string manipulation through an abstract object called XmString. The<br />

XmString abstraction associates a multi-lingual string with the encoding<br />

information attached to each locale and rendition to be used for a particular<br />

substring.<br />

In Motif 1.2, the XmString abstraction supports the display with multiple fonts.<br />

However, the programmer has to separately create each character string that<br />

uses a different font, associate that string with a tag, and match that tag with a<br />

font. In Motif 2.1, the rendition is both simplified and extended. It is extended to<br />

support multiple fonts as well as multiple colors and TAB marks. It is simplified<br />

with the availability of a new API. This new API offers construction of the<br />

XmString.<br />

8.3.4.5 Toggle Button Enhancements<br />

When used as check boxes, toggle buttons (on/off buttons) are often not intuitive<br />

in Motif 1.x releases. Users are sometimes confused whether the etched-in<br />

appearance means on or off. The 3D effect used for the etched-in look is not<br />

always easily recognized in unusual light conditions (for example, industrial or<br />

military environments) or screens with limited color range. This has lead to<br />

enhancing the ToggleButton widget to support these new features:<br />

• A check mark can be used inside the toggle square area.<br />

Graphical Environment Enhancements 221

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!