Em Qui, 2004-03-11 �s 19:49, Pierre N escreveu: > > > I advise you to have a look at the one at handheld.org: > > > http://handhelds.org/~nelson/pyglade/pyglade-tutorial > > > It's really great, and my whole application is based on this. This is > > > very elegant. Considering the size of my beast... > > On thing I find VERY confusing in all of this are those modules' names, > > as well as libraries versions. > > For instance: > > that helloworld example from the above page has the following line: > > import gtk, libglade
> > Well, ok. I don't have any idea of which library is libglade, my python > > cannot find it. It says "ImportError: No module named libglade". > I didn't even realise this, you are right. Well, just check with your > python env. which modules you have and which you don't: I've been reading other tutorials... but you said that you were using the handhelds' one yourself, so the only thing I tried was run that helloworld. This made me confused... > >>> help() > help>modules This is good to know. I was looking for this for quite some time. > help>gtk.glade > [... here you go, the whole API just for you ...] hoohooooo! :-) > > libglade.GladeXML(file) > > gtk.glade.XML(file) > different "native" lib. Here you go, you don't care which one you need. What worries me is that I would have to convert functions from one to another on every different distro. > > What is the difference? I don't know. What are the versions? I don't > > know. Is one for gtk/glade 1 and other for gtk2/glade2? I don't know. > I suppose this is the explanation. I'm sure you can google for libglade > you'll find everything you need to know about libglade. On > http://www.python.org as well... Libglade is from the guy who created PyGTK. In fact, it's hosted at the same place this list is. Ain't this ackward? > At the same time I think you want to know too much about everything and > you can't seem to see the end of it. Hard to be motivated... Just try to > focus on what you have/like to do. Don't try to know stuff you don't > need. Not yet anyway ;-p I was just trying to run a hello world ;-) -- []s Alexandre Ganso 500 FOUR vermelha - Diretor Steel Goose Moto Group _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
