[IronPython] Gestalt, IronPython in Silverlight and embedded xaml
michael at voidspace.org.uk
Wed Mar 31 02:03:41 CEST 2010
I'm getting to grips with 'gestalt', the new way of embedding IronPython
It seems ok so far, I still need to package my app into a zip file and
serve it locally (doesn't work from the filesystem) so you don't gain
much in terms of workflow but it does seem a better way to structure
Silverlight apps (keeping the runtime separate from the application).
It doesn't seem to me that embedded xaml is working. An html file with
pretty much nothing but the following content doesn't show a Silverlight
control (Firefox and IE on Windows 7):
<script type="application/xaml+xml" id="inlineXAML" width="200" height="75">
<TextBlock Canvas.Left="20" FontSize="24" />
When I attempt to use embedded xaml to create the Silverlight control
and add a Python script for the application I was hoping to use the
following to access the Silverlight UI:
root = Application.Current.RootVisual
root here is None and the Silverlight control is not displayed. Any ideas?
READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.
More information about the Ironpython-users