10 lines
164 B
Python
10 lines
164 B
Python
|
import pygtk
|
||
|
pygtk.require('2.0')
|
||
|
import gtk
|
||
|
|
||
|
class Image(gtk.Image):
|
||
|
def __init__(self,path):
|
||
|
gtk.Image.__init__(self)
|
||
|
self.set_from_file(path)
|
||
|
self.show()
|