Code :
self.okButton = wx.Button(id=wxID_CONFDIALOGOKBUTTON, label=u'Valider', name=u'okButton', parent=self, pos=wx.Point(48, 192), size=wx.Size(88, 27), style=0) self.okButton.Bind(wx.EVT_BUTTON, self.OnOkButton, id=wxID_CONFDIALOGOKBUTTON) #[...] def OnOkButton(self, event): # Tes actions ici # ...
|