Re: pygtk transition 1.2 -> 2
Joe Drew <hoserhead@woot.net> writes:
>> import pygtk
>> pygtk.require('1.2')
>
> Will this also cover using gnome 1 bindings instead of gnome 2?
Yes, these two line specify that you want to use gtk and gnome 1
bindings instead of the gnome 2 ones.
> I assume that just prepending the above two lines to something like the
> following should work?
>
> from gtk import *
> import _gtk
> import _gnome
> import _gnomeui
> from gnome.ui import *
> import gnome.config
Yes ;-)
Cheers,
Sebastien Bacher
Reply to: