Re: [Ironpython-users] FW: IronPython WPF application

2012-12-10 Thread Matt Ward
Hi, The Window_Loaded event handler is not being run since it is missing two parameters. This is causing wpf.LoadComponent to not wire it up for you. If you change the code to the following then the event handler will run and you will be able to access the window handle. def Window_Loaded(sel

Re: [Ironpython-users] FW: IronPython WPF application

2012-12-10 Thread Michael van der Kolff
Hmm. Perhaps you should have a look at the WPF example here: http://www.ironpython.info/index.php/WPF_Example. That one doesn't try to load its UI out of an XML file. There appear to be some tricks applicable to XAML with WPF, relating to where you can load the XML from: http://stackoverflow.com

[Ironpython-users] FW: IronPython WPF application

2012-12-10 Thread Jackie Sproat
I am simply trying to get the handle to a WPF window, but it doesn't seem to be working. I am as new to WPF as I am to IronPython so please forgive me :) >From what I have read I believe the handle is not getting set in __init__ >because it is only available at run_time(?) Therefore, have to ad

[Ironpython-users] Help with NumPy

2012-12-10 Thread Kent Johnson
Hi, Where is the best place to get help on NumPy for IronPython? (I cross-posted also to the SciPy4dotNet list but that list looks kind of dead...) My current question is, how can I create a numpy.ndarray from a System.Array? I hoped it would just work to pass the Array to ndarray() or asarray()