[IronPython] IronPython 2.6 CodePlex Source Update

2010-03-11 Thread merllab
This is an automated email letting you know that sources have recently been pushed out. You can download these newer sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/64644. MODIFIED SOURCES

[IronPython] How to find import in ipy

2010-03-11 Thread Ken MacDonald
Hi, I have an app with a popup containing a listbox. I want to dynamically add a few items to the listbox and found code in a number of places which does something like: listbox.Items.Add(ListItem(Special, 11)) listbox.Items.Add(ListItem(Regular, 19)) However, I can't

Re: [IronPython] How to find import in ipy

2010-03-11 Thread Michael Foord
On 11/03/2010 17:11, Ken MacDonald wrote: Hi, I have an app with a popup containing a listbox. I want to dynamically add a few items to the listbox and found code in a number of places which does something like: listbox.Items.Add(ListItem(Special, 11))

Re: [IronPython] How to find import in ipy

2010-03-11 Thread Brian Curtin
On Thu, Mar 11, 2010 at 11:11, Ken MacDonald drken...@gmail.com wrote: Hi, I have an app with a popup containing a listbox. I want to dynamically add a few items to the listbox and found code in a number of places which does something like: listbox.Items.Add(ListItem(Special,

Re: [IronPython] How to find import in ipy

2010-03-11 Thread Ken MacDonald
Thanks Michael, We're using .NET, so this should be OK, I guess? All of the other controls (StackPanel, Grid...) are being imported from System.Windows.Controls, so I thought ListItem ought to have been somewhere in there. from System.Web.UI.WebControls import ListItem That's for ASP - is

Re: [IronPython] How to find import in ipy

2010-03-11 Thread Michael Foord
On 11/03/2010 17:33, Ken MacDonald wrote: Thanks Michael, We're using .NET, so this should be OK, I guess? If you're using IronPython that you are definitely using .NET. Do you mean you are using ASP.NET? All of the other controls (StackPanel, Grid...) are being imported from

Re: [IronPython] How to find import in ipy

2010-03-11 Thread Curt Hagenlocher
On Thu, Mar 11, 2010 at 9:33 AM, Ken MacDonald drken...@gmail.com wrote: Thanks Michael, All of the other controls (StackPanel, Grid...) are being imported from System.Windows.Controls, so I thought ListItem ought to have been somewhere in there. Given that you seem to be using WPF, you

Re: [IronPython] Silverlight on the Windows 7 Phone

2010-03-11 Thread Dino Viehland
Michael wrote: I haven't followed the details of the Windows 7 phone closely but I do know it will include Silverlight. Any word on whether or not that will support IronPython applications? I don't think we know - it all depends on what CLR is being used in the phones. If it's the compact

Re: [IronPython] Silverlight on the Windows 7 Phone

2010-03-11 Thread Michael Foord
On 11/03/2010 17:46, Dino Viehland wrote: Michael wrote: I haven't followed the details of the Windows 7 phone closely but I do know it will include Silverlight. Any word on whether or not that will support IronPython applications? I don't think we know - it all depends on what CLR

Re: [IronPython] How to find import in ipy

2010-03-11 Thread Ken MacDonald
Thanks Michael, Brian, Curt Found out I should've been using List*Box*Item instead of ListItem as I'm working w/ a ListBox, but now have this piece working. The pointers and suggestions were REAL helpful in tracking down what I actually needed, even though I started out asking for the wrong

Re: [IronPython] Silverlight on the Windows 7 Phone

2010-03-11 Thread Jeff Hardy
On Thu, Mar 11, 2010 at 10:47 AM, Michael Foord fuzzy...@voidspace.org.uk wrote: Right, that's what I figured. XNA is also included, which definitely uses compact framework - but I would *expect* Silverlight to use the CoreCLR. I guess we have to wait and see... It could be using a version of