Using widget written in Tkinter with pygtk
I'm trying to attach a Tkinter widget to a pygtk application and I've looked into some ways of doing this. First there was gtk.Plug and gtk.Socket, but I wasn't able to find any examples outside of the pygtk tutorial.. Then there was python-bonobo, which turns out to 开发者_如何学Pythonbe largely deprecated. Then dbus.
Does anybody know of the most recent way to handle embedding widgets into pygtk? Is it dbus, or something else? What is the best way to add a foreign widget to a pygtk app?
Thanks for any help, I'm having some trouble moving forward with this...
EDIT: I just ported the widget to pygtk. Much simpler.
It is amazing how little information there is about this, probably because most people just build with one GUI toolkit. However, I did find this...
It never appears to have been confirmed, but there is a listing for it in the documentation.
Not sure if this will help, but I hope it does.
精彩评论