Hi,

I am trying to popup a widget in a TextView (for auto-completion 
options in an editor).
It looks like I need to use the 'add_child_in_window' method of 
TextView.  I am trying to get the coordinates with 
text_view.get_iter_location(iter, rect) and it wants a GdkRectangle to 
fill in as the second arg.

Problem: gtk.gdk.Rectangle() raises:

NotImplementedError: GdkRectangle can not be constructed

How do I get the coords to add the widget?  Or can I add a widget
another way?

Thanks,
Rob
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to