A compound string function that updates the window manager title
Format
#include <Xm/XmP.h> void XmeSetWMShellTitleXmString stringWidget shell
DESCRIPTION
XmeSetWMShellTitle updates the title and icon name of a WMShell by using the specified compound string.
If string consists of a single segment whose tag is "ISO8859-1", the title and icon name use the text of the segment and an encoding of STRING. If string consists of a single segment whose tag is XmFONTLIST_DEFAULT_TAG, the title and icon name use the text of the segment and an encoding of None. Otherwise, the compound string is converted to compound text, and the title and icon name use the resulting compound text and an encoding of COMPOUND_TEXT.
This routine sets the XmNtitle, XmNtitleEncoding, XmNiconName, and XmNiconNameEncoding resources of a WMShell.
RELATED