Parent document is top of "Motif FAQ (Part 8 of 9)"
Previous document is "260) Can I specify callback functions in resource files?"
Next document is "262) Is there a program that can convert a UIL file to tclMotif? I"

261) How can I set a multiline label in UIL?

[Last modified: Sept 94]

Answer:  In UIL, you have to explicitly create a compound string with a
separator.  Here's what W. Scott Meeks suggests:

value nl : compound_string('', seperate=true);

object my_label : XmLabel
{
    arguments
    {
        XmNlabelString = 'Here' & nl & 'is' & nl & 'the' & nl & 'Label';
    };
};

Parent document is top of "Motif FAQ (Part 8 of 9)"
Previous document is "260) Can I specify callback functions in resource files?"
Next document is "262) Is there a program that can convert a UIL file to tclMotif? I"