[Mono-winforms-list] Windows.Forms under IronPython
Douglas S. Blank
dblank at cs.brynmawr.edu
Mon Jun 4 15:11:06 EDT 2007
Jonathan Chambers wrote:
> Doug,
> Do you have the latest libgdiplus as well (same level as mono in
> svn)? It needs to match your System.Drawing version.
Thanks, that was it. It wasn't clear that this needed to be the case
from the mono "getting started" pages.
Wow! This is great: IronPython (with graphics) running on Mono on Linux.
It is stunning to think of the diverse groups of people that have all
contributed work to make this possible.
(FYI, I'll be producing some code, examples, and documentation this
summer about how to use this to control robots. For more info, see
http://wiki.roboteducation.org/ )
Thanks again!
-Doug
> Thanks,
> Jonathan
>
> On 6/1/07, * Douglas S. Blank* <dblank at cs.brynmawr.edu
> <mailto:dblank at cs.brynmawr.edu>> wrote:
>
> New user of mono through IronPython just joining the mailing list. I've
> read some of the getting started docs with mono and winforms, and looked
> over what has been implemented, but didn't an answer to the following
> problem. I'm running mono on Linux out of CVS with latest FePy:
>
> % mono -V
> Mono JIT compiler version 1.2.4 (/trunk/ r78467)
> Copyright (C) 2002-2007 Novell, Inc and Contributors.
> www.mono-project.com <http://www.mono-project.com>
> TLS: __thread
> GC: Included Boehm (with typed GC)
> SIGSEGV: normal
> Architecture: x86
> Disabled: none
> % mono ipy.exe
> IronPython 1.1 (1.1) on .NET 2.0.50727.42
> Copyright (c) Microsoft Corporation. All rights reserved.
> >>> import clr
> >>> clr.AddReference("System.Windows.Forms")
> >>> from System.Windows.Forms import Application, Form
> >>> f = Form()
> >>> Application.Run(f)
> type: 10 Not implemented
> Traceback (most recent call last):
> File System.Windows.Forms, line unknown, in Run
> File System.Windows.Forms, line unknown, in RunLoop
> File System.Windows.Forms, line unknown, in set_Visible
> File System.Windows.Forms, line unknown, in SetVisibleCore
> File System.Windows.Forms, line unknown, in SetVisibleCore
> File System.Windows.Forms, line unknown, in CreateControl
> File System.Windows.Forms, line unknown, in CreateHandle
> File System.Windows.Forms, line unknown, in SetIcon
> File System.Windows.Forms, line unknown, in SetIcon
> File System.Windows.Forms, line unknown, in SetIcon
> File System.Drawing, line unknown, in ToBitmap
> File System.Drawing, line unknown, in GetInternalBitmap
> File System.Drawing, line unknown, in LoadFromStream
> File System.Drawing, line unknown, in InitFromStream
> File System.Drawing, line unknown, in CheckStatus
> NotImplementedError: The requested feature is not implemented [GDI+
> status: NotImplemented]
>
> First, am I running this correctly? If so, I assume that it is that
> GDI+
> status is not implemented. I looked over the sources, but it wasn't
> clear
> where the problem was. Is this a known issue?
>
> Thanks for any pointers,
>
> -Doug
>
> _______________________________________________
> Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
> <mailto:Mono-winforms-list at lists.ximian.com>
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
> <http://lists.ximian.com/mailman/listinfo/mono-winforms-list>
>
>
More information about the Mono-winforms-list
mailing list