Path: utzoo!censor!geac!jtsv16!uunet!cs.utexas.edu!sun-barr!apple!bloom-beacon!ANTARES.MCS.ANL.GOV!fineberg From: fineberg@ANTARES.MCS.ANL.GOV Newsgroups: comp.windows.x Subject: x and y Message-ID: <8908021500.AA01836@godzilla.mcs.anl.gov> Date: 2 Aug 89 15:00:57 GMT Organization: The Internet Lines: 11 I am writting an application using Widgets and I want to have a popup widget appear where the cursor is or else, at least where a known widget is. When I get the x and y back from the event handler it is relative to the widget I clicked on (0,0 is the upper left corner of the widget). Also, when I try to get x and y values for the position of the widget it is relative to my toplevel widget and when I get x and y for my toplevel widget they are 0 and 0. If I could get the x and y of the toplevel widget this would be sufficient, hoever, what I really want is the cursor position when the event occurred. Thanks, Sam Fineberg