Thank you Matt and everyone who responded!
This was exactly what I was looking for!
Cheers,
Jackie
From: Matt Ward [[email protected]]
Sent: December 10, 2012 1:44 PM
To: Jackie Sproat
Cc: [email protected]
Subject: Re: [Ironpython-users] FW
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
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