You are not logged in.

#1 2012-03-27 14:56:46

bslackr
Member
Registered: 2012-01-27
Posts: 131

PyGObject Question

I'm about to start teaching myself some GUI programming in python using gtk from PyGObject. I saw in a tutorial somewhere that using the pygtk modules you could mess around with a window from the interactive prompt in python, and the changes would be reflected immediately (after running show() of course). I tried that out and found it to be very beneficial, but I haven't been able to get that to work in PyGObject because I have to run Gtk.Main() before anything will show, and after I run that I can't do anything else in the python prompt. Is there a way to do this in PyGObject? Admittingly, I haven't gotten very far at all into learning PyGObject, or pygtk, but I thought I'd ask since this would be useful in the learning process.

Offline

Board footer

Powered by FluxBB