gtk.Image



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 is a image being displayed when I try to get image name.
Thanks for your time,
Brad


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]