views:

71

answers:

1

I have a fairly large work project that uses pygtk for the GUI and I need reduce the dependencies and convert to tkinter.

Does anyone know of a script to convert exisiting pygtk code to tkinter?

A: 

Ok for anyone in the same boat as me, I just found PyGtk2Tk which is a PyGtk to Tkinter Wrapper that runs PyGtk based code unchanged using Tkinter (Tk).

1.01pm
And it supports all features of your code?
Tony Veijalainen
I'll be testing later this week (work project is non urgent) but from what I can read ( https://code.google.com/p/pygtk2tk/wiki/MainPage ) the script supports the following classes/Widgets (GObject / Object / Widget / Container / Bin / Window / Box / HBox / VBox / Table / Button / ToggleButton / CheckButton / RadioButton / Label / Entry ) which I believe cover the majority of what the work project uses, any thing else I will either do by hand or most likely code up and submit to PyGTK2TK.
1.01pm
Testing has been positive, but work project has been placed on the backburner till the new year.
1.01pm