[IronPython] AttributeError : System.Drawing.Graphics is "read-only"
NikoVFR
vfr.niko at hotmail.fr
Mon Apr 18 15:30:53 CEST 2011
class MainForm(Form):
def MainFormPaint(self, sender, e):
print "MainFormPaint %i"%self._paint
gr = e.Graphics
self.MainPanel.Draw(gr,0)
class MainPanel:
def Draw(self,gr,starty):
y = starty
for c in self.Children:
y = c.Draw(gr,y)
Tell me if you need more code....
--
View this message in context: http://old.nabble.com/AttributeError-%3A-System.Drawing.Graphics-is-%22read-only%22-tp31419737p31423875.html
Sent from the IronPython mailing list archive at Nabble.com.
More information about the Ironpython-users
mailing list