git-svn-id: file:///home/anna/Desktop/ocarina-legacy/mithos/ocarina@36 1daee41c-8060-4895-b1f0-2197c00d777a
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()
|