[ Previous | Next | Contents | Glossary | Home | Search ]
Motif 2.1 Widget Writer's Guide


XmeSetWMShellTitle

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.

string
Specifies the compound string to use for the title and icon name.

shell
Specifies a widget that is a subclass of WMShell.

RELATED

WMShell(3) and XmString(3).


[ Previous | Next | Contents | Glossary | Home | Search ]