Multiline labels in buttons

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

3 posts / 0 new
Last post
Multiline labels in buttons

Submitted by Anonymous on Tue, 12/04/2001 - 08:18. Developers
Can anybody tell me if there is a possibility to use multiline labels in XmPushButtons (a simple example would be appreciated too)? Thanks in advance,

Rambo

ICS_support

Well, the labels are XmStrings, and XmStrings can be multi-line, so you need simply to construct one, either using the simple XmString routines that accept embedded new-lines, or the more-current routines that construct an XmString out of various components, including the breaks that you want. I have a wonderful example of this code, but it is too long to fit into these margins!

Anonymous

Thanks, but anyway, if it`s possible, can you send the example to m_roguski@yahoo.com... Just it`s very difficult to thing when you`re in the
middle of master thesis- and trying to develop
something like an "intelligent" "Play" button to
an audio editor, which changes its function
(that`s easy...) and label (XmNlabelString`s fine, but limiting- that`s why question) while, for example, a range is selected- or wave is being played

Rambo