20 lines
391 B
Python
20 lines
391 B
Python
|
#! /usr/bin/python
|
||
|
|
||
|
# To change this template, choose Tools | Templates
|
||
|
# and open the template in the editor.
|
||
|
|
||
|
__author__="bjschuma"
|
||
|
__date__ ="$May 18, 2010 3:44:12 PM$"
|
||
|
|
||
|
|
||
|
import gtk
|
||
|
from gtknodes import Node
|
||
|
|
||
|
class Label(Node):
|
||
|
def __init__(self, elm):
|
||
|
Node.__init__(self, elm)
|
||
|
self["text"] = ""
|
||
|
self.part = gtk.Label()
|
||
|
self.setattrs()
|
||
|
self.part.set_text(self["text"].title())
|