fixunix
Tags Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

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 ...


Fix Unix > Tools > Motif > Howto: Observing a widget

Reply
 
LinkBack Tools
  #1  
Old 10-28-2008, 12:50 PM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default 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
Reply With Quote
  #2  
Old 10-28-2008, 09:13 PM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default 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
Reply With Quote
Reply

Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
[PATCH 5/7] HOWTO: change addresses of maintainer and lxr url for Korean HOWTO unix Kernel 0 12-17-2007 08:40 PM
Re: Looking for a widget unix KDE 0 10-07-2007 04:58 PM
Is there a mistake here ? from http://tldp.org/HOWTO/Firewall-HOWTO-7.html unix Firewalls 4 10-03-2007 12:40 AM
GTK: Closing child widget when main widget is closed? unix Linux 7 09-30-2007 11:52 AM
Gtkmm : difference between remove(Widget) and remove_page(widget) unix Linux 0 09-30-2007 11:52 AM


All times are GMT. The time now is 08:21 AM.