Ver Mensaje Individual
  #8 (permalink)  
Antiguo 18/01/2010, 11:14
Avatar de razpeitia
razpeitia
Moderador
 
Fecha de Ingreso: marzo-2005
Ubicación: Monterrey, México
Mensajes: 7.321
Antigüedad: 19 años, 1 mes
Puntos: 1360
Respuesta: problemita con wx.EVT_PAINT

Código Python:
Ver original
  1. class DrawPanel(wx.Panel):
  2.     def __init__(self, *args, **kwargs):
  3.         self.pos = (0, 0)
  4.         ...
  5.  
  6. def button1Click(self,event):
  7.     self.Panle.pos = (x, y) #(x, y) Dependiendo del botón presionado