Next: Combining Widgets Up: Widget Basics Previous: Set Resource at Creation

Strings in Motif

Motif uses two types of string:

Motif provides a number of functions to convert a String into an XmString.

The Resource XmNlabelString is one of many resources that use this data type.

XmStringCreateSimple(),XmStringCreateLtoR(), XmStringGetLtoR(), XmStringCompare(), XmStringConcat(), XmStringCopy() etc. functions exist.

Their use is fairly simple - see reference manual for more details.


Dave.Marshall@cm.cf.ac.uk
Tue May 24 16:52:56 BST 1994