[Mono-winforms-list] Windows.Forms under IronPython
Douglas S. Blank
dblank at cs.brynmawr.edu
Fri Jun 1 22:11:19 EDT 2007
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
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
More information about the Mono-winforms-list
mailing list