From: Stephen W. <wa...@ul...> - 2002-01-09 11:56:45
|
Now that the panel has a property set to aid positioning of the applet menu, how does an applet get to read that property? Specifically how do I find the window id of the panel an applet is running on? -- Stephen Watson Physicist Ultra Electronics Ltd - Signature Management Systems (UESMS) Tel: +44 (0)1543 878888 (switchboard) Fax: +44 (0)1543 878249 Email: wa...@ul... |
From: Thomas L. <ta...@ec...> - 2002-01-09 12:20:00
|
On Wed, Jan 09, 2002 at 11:56:25AM +0000, Stephen Watson wrote: > Now that the panel has a property set to aid positioning of the applet menu, > how does an applet get to read that property? Specifically how do I find the > window id of the panel an applet is running on? XQueryTree up until you reach a window with the property? -- Thomas Leonard http://rox.sourceforge.net ta...@ec... ta...@us... |
From: Stephen W. <wa...@ul...> - 2002-01-09 13:52:10
|
In message <200...@ev...> Thomas Leonard <ta...@ec...> scribbled: > On Wed, Jan 09, 2002 at 11:56:25AM +0000, Stephen Watson wrote: > > Now that the panel has a property set to aid positioning of the applet > > menu, how does an applet get to read that property? Specifically how do > > I find the window id of the panel an applet is running on? > > XQueryTree up until you reach a window with the property? Ah. I was looking for it in gdk. -- Stephen Watson wa...@ul... Ultra Electronics Signature Management Systems, Hednesford. |
From: Thomas L. <ta...@ec...> - 2002-01-22 13:01:26
|
On Wed, Jan 09, 2002 at 01:51:34PM +0000, Stephen Watson wrote: > In message <200...@ev...> > Thomas Leonard <ta...@ec...> scribbled: > > > On Wed, Jan 09, 2002 at 11:56:25AM +0000, Stephen Watson wrote: > > > Now that the panel has a property set to aid positioning of the applet > > > menu, how does an applet get to read that property? Specifically how do > > > I find the window id of the panel an applet is running on? > > > > XQueryTree up until you reach a window with the property? > > Ah. I was looking for it in gdk. I've now moved it to the GtkSocket window so it's not necessary to search for it. Also, this will help python applets (which can't use XLib calls). -- Thomas Leonard http://rox.sourceforge.net ta...@ec... ta...@us... |
From: Stephen W. <wa...@ul...> - 2002-01-22 14:20:14
|
In message <200...@ev...> Thomas Leonard <ta...@ec...> scribbled: > Also, this will help python applets (which can't use XLib calls). unless they use python-xlib. -- Stephen Watson Physicist Ultra Electronics Ltd - Signature Management Systems (UESMS) Tel: +44 (0)1543 878888 (switchboard) Fax: +44 (0)1543 878249 Email: wa...@ul... |