[IronPython] AttributeError : System.Drawing.Graphics is "read-only"

Jimmy Schementi jschementi at gmail.com
Mon Apr 18 14:03:43 CEST 2011


Can you send the python code that causes this error?

~Jimmy


On Apr 18, 2011, at 7:56 AM, NikoVFR <vfr.niko at hotmail.fr> wrote:

> 
> Hello everybody...
> 
> first i apologize for my bad english... i did not practice for a very long
> time...
> 
> A strange problem in a ironpython app, done with Sharpdevelop...
> 
> I created a form, without borders, captions, icon...., just a simple square
> to draw...
> 
> When I try to draw from my OnPaint Function, IronPy answers me : 
> Exception.AttributeError : 
> attribute 'Graphics' of 'namespace#' object is read-only
> 
> Thanks for helping me, i really can't find any solution here...
> -- 
> View this message in context: http://old.nabble.com/AttributeError-%3A-System.Drawing.Graphics-is-%22read-only%22-tp31419737p31419737.html
> Sent from the IronPython mailing list archive at Nabble.com.
> 
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list