Re: [Anygui-devel] GtkLabel is not defined
Brought to you by:
mlh
From: Magnus L. H. <ma...@he...> - 2004-04-10 20:29:07
|
Donn <do...@te...>: > [snip] > I want to use Python as a language to teach kids about coding and > anygui would be just brilliant to cut-down the sheer amount of > download this and download that that gui programming seems to demand > on Linux. Sounds good. I think teaching is one of the areas where Anygui might have some potential. > Well, I would say thanks for a brilliant product, but I still gotta see it! Indeed ;) [snip] > _gtk_class = GtkLabel > NameError: name 'GtkLabel' is not defined Right. You're probably using Anygui 0.1.1, and that uses an old version of PyGTK (I think). In the new version of the GTK back-end, GtkLabel is not used -- gtk.Label is used instead. If you've followed some of the discussions on this list (or visited the Web site) you've probably noticed that there havent been any releases for a while. The trouble you're experiencing is fixed in the CVS version, but we haven't relased that yet. You're perfectly welcome to download and use it, though, of course. The GTK back-end might not be 100% up to scratch yet, but that is mainly because of a lack of testing, so if you use it and notice bugs, just tell us, and we can hopefully fix them as we go along. That should also get us closer to an actual release :) If you'd like to go with a more stable version, you could use Anygui 0.1.1 with PyGTK 1, but I don't think I'd recommend that solution myself... Good luck -- and just nag us about bugs and the like. Oh, and you have to subscribe to this list to post to it, normally. (I'll gladly accept your postings manually, but it might be just as practical for you to subscribe, I guess.) -- Magnus Lie Hetland "Oppression and harassment is a small price to pay http://hetland.org to live in the land of the free." -- C. M. Burns |