Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XtSetSensitive Problem

16 views
Skip to first unread message

barun

unread,
Jun 11, 2009, 8:12:19 AM6/11/09
to
Hi,
I have a problem with my application.

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

barun

unread,
Jun 11, 2009, 8:12:38 AM6/11/09
to

Fred

unread,
Jun 11, 2009, 5:48:40 PM6/11/09
to
On Jun 11, 5:12 am, barun <barun.paric...@gmail.com> wrote:
> Hi,
> I have a problem with my application.
>
> 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 ofhttp://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.
>

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

0 new messages