def __init__(self,parent,label=""): super(Button,self).__init__() self._widget=_gtk.Button(_utils.utf8ToStr(label)) self._widget.connect("clicked",self.onClickEvent) self._click=None
def setTitle(self,title): self._widget.set_label(_utils.utf8ToStr(title))
def __init__(self,parent,label=""): super(Label,self).__init__() self._widget=_gtk.Label(_utils.utf8ToStr(label))