How do I get absolute screen position of a widget?




Hiho,

I like to popup a menu at a specific position relative to a text entry 
on the screen. Connecting the text entry's "size-allocate" signal seems
to be a solution, but this gives me the relative position to the parent
container, so I would have to track that up to the toplevel window to 
get an absolute position.

Is there an easier way to accomplish that?

Thanks,

Jörn

-- 
LINUX - Linux Is Not gnU linuX

Attachment: pgpxVEuBYzH7H.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]