Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please port to PyGObject for GTK3 for python3 #91

Open
vt-alt opened this issue May 7, 2021 · 0 comments
Open

Please port to PyGObject for GTK3 for python3 #91

vt-alt opened this issue May 7, 2021 · 0 comments

Comments

@vt-alt
Copy link

vt-alt commented May 7, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant