XmScale Help!!!

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

Questions about motif? Contact us

3 posts / 0 new
Last post
XmScale Help!!!

Submitted by Anonymous on Fri, 04/20/2001 - 19:50. Developers
I need someone to lead in me in the right direction. Here`s the problem.
XmScale`s value resource is declared as type int. I need to have this resource be of type
unsigned int....what do I need to do, subclass or create a new widget or something altogether different. Thanks in advance for anyone`s help.

Anonymous

What happens when you just cast it? As long as the ranges are OK, there should be no problem,

Scorch

ICS_support

True, but the implication is that high-end values are desired.

Note, though, that the XmScale doesn`t typically offer a fine enough granularity to distinguish between values when the range is large. A type-in text field may be better, or a combination of two XmScale widgets (for different orders of 10) may be reasonable.