[IronPython] Problems with tutorials
Martin.Maly at microsoft.com
Mon Dec 12 19:20:42 CET 2005
As for the avalon example, looks like the object model has changed substantially. The w.Title is the way to go, same for w.Content.TextContent; I also failed to find suitable replacement for the the PersistentAnimations :(
From: users-bounces at lists.ironpython.com On Behalf Of Keith J. Farmer
Sent: Monday, December 12, 2005 1:51 AM
To: Discussion of IronPython
Subject: [IronPython] Problems with tutorials
Encountering a variety of problems with the agents tutorial:
a = AgentServerClass() -> should not have () ?
a.Load("Merlin.acs") -> throws bad args exception for the Load() method.
Doesn't change if I use C:\WINDOWS\msagent\chars\merlin.acs, which exists on my machine. Also doesn't work if I call AgentServerClass.Load("merlin.acs").
NB: I'm using x64.
With the Avalon tutorial, I get "can't set arbitrary attributes on built-in type System.Windows.Window" when I try w.Text = "My Avalon Application". Trying to retrieve w.Text gives no-such-attribute error.
w.Title does exist, however.
w.Content.TextContent should be w.Content.Text, I think.
w.Content.PersistentAnimations doesn't exist, and I don't see any likely rename.
More information about the Ironpython-users