コード例 #1
0
 def __init__(self, pai):
   CaixaMultiplaEscolhaRotulada.__init__(self, pai)
   self.__botaoDownload = wx.Button(self, label = 'Download')
   self.__botaoRemover = wx.Button(self, label = 'Remover')
   self._sizer.Add(self.__botaoDownload)
   self._sizer.Add(self.__botaoRemover)
   self.Bind(wx.EVT_BUTTON, self.__trataCliqueBotaoDownload, self.__botaoDownload)
   self.Bind(wx.EVT_BUTTON, self.__trataCliqueBotaoRemover, self.__botaoRemover)
   self._adcionarEspacamento()
コード例 #2
0
 def __init__(self, pai):
   CaixaMultiplaEscolhaRotulada.__init__(self, pai)
   self._adcionarEspacamento()