Beispiel #1
0
 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
Beispiel #2
0
 def setTitle(self,title):
     self._widget.set_label(_utils.utf8ToStr(title))
Beispiel #3
0
 def __init__(self,parent,label=""):
     super(Label,self).__init__()
     self._widget=_gtk.Label(_utils.utf8ToStr(label))