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
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
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
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
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
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..
&
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
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