On Fri, Sep 19, 2003 at 10:37:05AM +0200, [EMAIL PROTECTED] wrote:
> I've a Window with a TextView, and I want to display another window (a popup
> winow) near the cursor position of the TextView. So I've calculate the cursor
> position with the buffer_to_window_coords() method and then I try to use the
> method get_position() of the Window to obtain the window position on
> the screen.

Just as a sanity check, is there a reason why you can't use
button_press_event and then the event.x and event.y coordinates the
GdkEvent object provides? 

(Hmm, maybe you're not expecting a button click?)

Take care,
--
Christian Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to