comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: absolute widget positions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: absolute widget positions [message #63030] Fri, 24 October 2008 05:00 Go to previous message
Wout De Nolf is currently offline  Wout De Nolf
Messages: 194
Registered: October 2008
Senior Member
On Fri, 24 Oct 2008 00:34:56 -0700 (PDT), AndiBiffar@googlemail.com
wrote:

> Hello everybody,
>
> i am trying to position a popup widget relative to an already existing
> gui. Is there a way to get the absolute position of the underlying
> parent widget on the screen. The problem is that i dont hav ea
> reference of the parent widget. Is there way to get access to the
> positions of all the currently acitve widgets.
>
> Cheers
> Andi

Use WIDGET_INFO with the GEOMETRY keyword on the parent widget's ID.
As for getting this ID, when does the popup widget pops up? Probably
after some user action in the main widget no? User action means event,
event means structure with ev.top as the top-level parent.

Did that answer your questions?
[Message index]
 
Read Message
Read Message
Previous Topic: DEPTH_TEST_FUNCTION, DEPTH_TEST_DISABLE properties (send an object to back)
Next Topic: absolute widget positions

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 09:45:47 PDT 2025

Total time taken to generate the page: 0.48055 seconds