Re: gtk.image

2007-12-25 Thread Gian Mario Tagliaretti
On Dec 25, 2007 7:03 PM, Tomas Carnecky <[EMAIL PROTECTED]> wrote: > Your problem is that get_image() does _not_ return the filename, but the > gdk pixbuf for the image - as described in the pygtk reference. So if > you want to get the filename, you have to use another function. Tomas, kicking as

Re: gtk.image

2007-12-25 Thread Tomas Carnecky
brad smith wrote: > ok, thanks:) Any ideas on that? > Happy Holidays So you did not RTFM, eh? I suggest to look there from time to time, it really helps. Sorry, no, I have no idea. But after roughly reading the gtk.Image class reference, I don't see any way of extracting the filena

Re: gtk.image

2007-12-25 Thread brad smith
t_ return the filename, but the > gdk pixbuf for the image - as described in the pygtk reference. So if > you want to get the filename, you have to use another function. > > > > On Dec 25, 2007 11:33 AM, Tomas Carnecky <[EMAIL PROTECTED]> wrote: > >> brad smith w

Re: gtk.image

2007-12-25 Thread Tomas Carnecky
to use another function. > On Dec 25, 2007 11:33 AM, Tomas Carnecky <[EMAIL PROTECTED]> wrote: >> brad smith wrote: >>> Hello everyone, >>> >>> I am using gtk.Image() and filling it with set_from_file with a random >> I assume you're using the py

Re: gtk.image

2007-12-25 Thread brad smith
thanks for the reply, I tried everything I can think of, but still get the error. On Dec 25, 2007 11:33 AM, Tomas Carnecky <[EMAIL PROTECTED]> wrote: > brad smith wrote: > > Hello everyone, > > > > I am using gtk.Image() and filling it with set_from_file with a rando

Re: gtk.image

2007-12-25 Thread brad smith
yes, I am using pygtk On Dec 25, 2007 11:33 AM, Tomas Carnecky <[EMAIL PROTECTED]> wrote: > brad smith wrote: > > Hello everyone, > > > > I am using gtk.Image() and filling it with set_from_file with a random > > I assume you're using the python bindings.. &

Re: gtk.image

2007-12-25 Thread Tomas Carnecky
brad smith wrote: > Hello everyone, > > I am using gtk.Image() and filling it with set_from_file with a random I assume you're using the python bindings.. > image in a directory. I am trying to use gtk.get_image() to get the > name of the image currently being displayed

gtk.image

2007-12-24 Thread brad smith
Hello everyone, I am using gtk.Image() and filling it with set_from_file with a random image in a directory. I am trying to use gtk.get_image() to get the name of the image currently being displayed but I get: gImage = self.rImage.get_image() ValueError: image should be a GdkImage or empty There