Howto: Observing a widget - Motif
This is a discussion on Howto: Observing a widget - Motif ; Hi,
is it possible to observe a widget?
One 3rd Party Component is accessing a widget
but it looks like that the access fails.
Is it possible to recognizing when a widget gets:
a) unmanage/managed
b) looses or receives a ...
-
Howto: Observing a widget
Hi,
is it possible to observe a widget?
One 3rd Party Component is accessing a widget
but it looks like that the access fails.
Is it possible to recognizing when a widget gets:
a) unmanage/managed
b) looses or receives a focus
c) and so on
can you help please?
kindly
Thomas
-
Re: Howto: Observing a widget
On Oct 28, 5:50*am, Thomas Lehmann wrote:
> Hi,
>
> is it possible to observe a widget?
> One 3rd Party Component is accessing a widget
> but it looks like that the access fails.
>
> Is it possible to *recognizing when a widget gets:
>
> a) unmanage/managed
> b) looses or receives a focus
> c) and so on
>
> can you help please?
>
What do you mean that it looks like "the access fails"?
What do you mean by saying the component is accessing a widget?
Register an EventHandler on the widget (XtAddEventHandler)
to check for various things
use mask=StructureNotifyMask for manage/unmanage
use mask=FocusChangeMask for receiving focus
--
Fred Kleinschmidt