🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37584

Re: XSelectInput - what am I doing wrong?

#37584
From: Ken Lee
Date: Thu, 01 Mar 1990 17:49
14 lines
1120 bytes
In article <900227-154552-595@Xerox>, jalred.ElSegundo@XEROX.COM writes:
>  I have a widget for which I would like to receive VisibilityNotify events.  
> However, I seem to be unable to select those events.  I retrieve the current
> event mask of the window using XtBuildEventMask, OR in VisibilityChangeMask, 
> and then set the event mask using XSelectInput.

Because of the heirarchy of windows in your typical widget,
XSelectInput is unlikely to generate useful results.  You should use
XtAddEventHandler or the translation manager instead.

Ken Lee
DEC Western Software Laboratory, Palo Alto, Calif.
Internet: klee@wsl.dec.com
uucp: uunet!decwrl!klee
Technical Details
Message-ID: <2934@bacchus.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!decwrl!wsl.dec.com!klee
References: <900227-154552-595@Xerox>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!decwrl!wsl.dec.com!klee
From: klee@wsl.dec.com (Ken Lee)
Newsgroups: comp.windows.x
Subject: Re: XSelectInput - what am I doing wrong?
Message-ID: <2934@bacchus.dec.com>
Date: 1 Mar 90 17:49:33 GMT
References: <900227-154552-595@Xerox>
Sender: news@decwrl.dec.com
Reply-To: klee@decwrl.dec.com
Organization: DEC Western Software Laboratory
Lines: 14