5
New in Panther 5
The additions for Panther 5 are:
XML support is available allowing you to import and export data from your Panther screens in XML format. For this feature, there are new properties and new functions:
A new XML category in the screen editor contains the Tag, Attributes, Prefix and Postfix properties available for screens and most widgets.
sm_xml_export
-Returns a character string containing the XML data.
sm_xml_export_file
-Writes the XML data to the specified filename.
sm_xml_import
-Returns a character string containing the XML data.
sm_xml_import_file
-Reads the XML data from the specified filename.
Email support is available in Panther screens. You can configure the email headers and send text emails with attachments. The global mail object
PR_MAIL_SYSTEM
accepts the information needed to communicate with
MAPI
(the Windows Messaging API). Using a series of properties and functions, you can specify mail options, including attachments. This feature is described in the
Developer's Guide
.
sm_mail_new
-Creates a new mail message object.
sm_mail_send
-Sends the mail message.
sm_*mail_attach
-Attaches the specified file.
sm_*mail_widget
-Sends an image of a Panther widget in the mail message.
sm_*mail_text
-Sends the contents of a Panther field in the mail message.
sm_*mail_file_text
-Sends the contents of the specified file in the mail message.
sm_mail_messagee
-Sends a basic mail message.
Framesets with splitter widgets are now available in Motif applications. (They were already available in Windows applications.) Framesets are described in
Using the Editors
. Splitter widgets divide a frameset window into subareas, allowing each subarea to be populated separately.
Tab card and tab deck widgets are now available in Motif applications. (They were already available in Windows applications.) Tab decks and tab cards are described in
Using the Editors
.
Tooltips are now available in Motif applications. (They were already available in Windows applications.) Tooltips are described in
Using the Editors
.
In Panther for IBM WebSphere, support for WebSphere 5 has been added.