ocarina/src/extra/guiGTK/label.py

22 lines
380 B
Python

#! /usr/bin/python
# To change this template, choose Tools | Templates
# and open the template in the editor.
__author__="bjschuma"
__date__ ="$Jan 14, 2010 11:49:31 PM$"
import gtk
class Label(gtk.Label):
def __init__(self,text):
gtk.Label.__init__(self,text)
self.show()
def change(self,text):
self.set_text(text)
def rotate(self,angle):
self.set_angle(angle)