On Sunday 06 October 2002 10:28, Martin Egholm Nielsen wrote: > Hi, > > >>I was wandering: What would it take to create an application > >>that could be "stuck" to another window? What I mean is that > >>I would like this application's window to e.g. move along if > >>the "mother" window is moved... > >>Is that possible based solely on events from X, or would it > >>require an entire redesign of blackbox? > > > > Look at the xprop code from the XFree86 sources. It works by grabbing > > the mouse and then determining which window you clicked. Once you know > > the window you know the window id. With the id in hand you can select > > events for that window as well as your own. When the window moves, you > > move. When it hides you hide. > > Sure but where do I actually start? With Qt, or maybe just > plain XFree86-programming... > > // Martin
I do not know QT at all so I can not comment on easy or hard it would be to implement this piece of functionality. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] List archives: http://asgardsrealm.net/lurker/splash/index.html Trouble? Contact [EMAIL PROTECTED]
