Replacement for pygtk?

Chris Green cl at isbd.net
Fri Sep 4 04:05:04 EDT 2020


Grant Edwards <grant.b.edwards at gmail.com> wrote:
> On 2020-09-03, Grant Edwards <grant.b.edwards at gmail.com> wrote:
> > [...]
> >
> > Is pygobject the replacement for pygtk?
> 
> It seems to be.  I've started porting my pygtk app, and it's going
> pretty smoothly.  I've already got my two custom widgets working.
> Oddly, the main module provided by the gobject package is called "gi".
> 
I think the 'i' is for instrospection - GTK Introspection.

FWIW I ported some Python 2 GTK code to Python 3 and it wasn't *too*
painful.  Run 2to3 on the code and then fix the odd syntax errors that
remain.

-- 
Chris Green
·


More information about the Python-list mailing list