[email protected] wrote:
> Hello Tim,
> I am on Ubuntu 9.04 (run in VirtualBox from Windows 7) and your code
> does not work for me. Maybe I miss some detail. This is what I have:
I don't see anything wrong with your code.
I had assumed you were programming on win32 based on your User-Agent
header. The code is almost certainly going to be OS and on Linux maybe
window manager dependent. I wouldn't expect my solution to work on Linux.
Try this code instead, it tries to make a normal window into a popup
rather than a popup into something more like a normal window:
self.balloon = gtk.Window()
def configure_balloon(balloon, parent):
balloon.set_transient_for(parent)
balloon.set_destroy_with_parent(True)
balloon.window.set_decorations(0)
balloon.window.set_accept_focus(False)
self.balloon.connect_after('realize', configure_balloon,
self[PropertyDialogView.top])
Again, this seems to work on win32, and while I think it's more likely
to work on Linux it's not guaranteed.
--
Tim Evans
Applied Research Associates NZ
http://www.aranz.com/
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/