From: Don T. <nos...@gm...> - 2006-12-03 16:59:14
|
Can someone please tell me how to set arguments for custom widgets for Python code generation. The property tab appears to let me add custom arguments, but I can't make it work for me. I am trying to add a FloatCanvas custom widget and I would like to get the canvas to initialize as something like: self.Canvas = FloatCanvas(self, Debug = 0, BackgroundColor = "WHITE") but whatever I say in the arguments pane I get something like: self.canvas = FloatCanvas(self.panel_1, -1) I have attached a .wxg file. Don. Does anyone have a FloatCanvas example that I can take a look it. |