hi I'm following http://www.gnome.org/projects/ORBit2/appletstutorial.html#AEN72
since http://www.pygtk.org/articles/applets_arturogf/index.html#AEN55 is a bit outdated and it's more oriented to the app in question then a general howto I'm trying to look for a way to translate this image = gtk_image_new_from_file ("/usr/share/pixmaps/mypicture.png"); now on both api's for the GTKImage it says different. http://developer.gimp.org/api/2.0/gtk/GtkImage.html http://www.pygtk.org/docs/pygtk/class-gtkimage.html according to the pygtk api there is no equivalent of the above method and I have to do something like. image = gtk.Image() image.set_from_file('/usr/share/pixmaps/bug-buddy.png') is this the correct approach? _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
