1 2 3 4 5 6 7
import gtk class PyLabel(gtk.Label): __gtype_name__ = 'PyLabel' def __init__(self): gtk.Label.__init__(self, "hello")