xrmx / bootchart

merge of bootchart-collector and pybootchartgui
GNU General Public License v2.0
233 stars 87 forks source link

Please port to PyGObject for GTK3 for python3 #91

Open vt-alt opened 3 years ago

vt-alt commented 3 years ago

See https://pygobject.readthedocs.io/en/latest/guide/porting.html

If your code contains imports like import gtk, import gst, import glib or import gobject you are using the old bindings and you should upgrade.

pygtk supported GTK 2.0 and Python 2 only. PyGObject supports GTK >=3.0 and Python 2/3. If you port away from pygtk you also have to move to GTK 3.0 at the same time. pygtkcompat described below can help you with that transition.

I'm not an expert in python, but your code seems to need porting to PyGObject to work on Gtk3 and python3. Excuse me if I'm wrong.