When I invoke the XtSetSensitive function on the base widget of the
graphic component I want to disable, the widget (and all its child
widgets) doesn't turn into grey untill I move the mouse or click it.
A similar discussion was found at:
http://fixunix.com/motif/93707-xtset...e-problem.html
Moreover, I too check FAQ 211 of
http://www.rahul.net/kenton/faqs/Motif-FAQ
which lists some API XtClearArea(), but I could not find any reference
of such API in Xt or Xorg.
This make me believe that there is no such XtClearArea(), but it
should be XClearArea().
Any help will be appreciated.
With Thanks,
Barun Parichha
What are the circumstances in which you call XtSetSensitive?
What widget (what kind of widget) are you passing it?
If your app ismulti-threaded, make sure all calls to X, Xt, and Xm
functions are done in the same thread.
What platform (O/S) is your app running on?
You might try calling XFlush() after the XtSetSensitive call.
--
Fred Kleinschmidt