How can I color the Button?

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

Questions about motif? Contact us

3 posts / 0 new
Last post
How can I color the Button?

 

If I want to color the compound string of Button,what should I do?
Thanks a lot!
‹ XmContainer and XtAppAddTimeOut() How to keep with the size of the form ›

 

 

 

See the XmRenderTable information which is embedded into the font information and which describes how to render it.

Alternatively, it may be enough for you to set the XmNforeground resource (from XmPrimitive) on the button.

    Thank you very much.

    Thank you very much.
    I made it by useing XmNforeground and XmNbackground resource.
    It is easier than using the XmRender Table.