Skip to content

Screencast: IronPython and Snoop Mashup for WPF

September 8, 2006

Matt Griffith put together a great screencast about using IronPython (just released) and Snoop (WPF debugging tool) together to create and understand WPF objects.

My comments after watching it.

1) Extra code

Matt had an extra line of code which probably wasn’t necessary:

b.Content = TextBlock()

Which he followed with something like:

b.Content.Text = "Hi"

Unless IronPython doesn’t allow it (which I doubt), he could have just said:

b.Content = "Hi"

The end result would have been the same (however the TextBlock would have been created by WPF for you.)

 

2) New Features for Snoop

Snoop needs a refresh button and a console line for Python commands!

 

Great stuff Matt!

From → WPF

3 Comments
  1. Rob permalink

    I learned from Peter Blois (Snoop\’s author) that:

    In Snoop, F5 refreshes the visual tree and if you use ctrl-shift to mouse over an element that is not in the tree, it’ll refresh automatically.

  2. nerddawg permalink

    Yes, b.Content = "Hi" does indeed work in IronPython. Jim Hugunin did a screencast with Jon Udell some time ago showing off WPF with IronPython.

  3. Unknown permalink

    We provide all Wow gold services. You can buy wOW Gold, Cheap woW gold here. We provide Cheap wOW Gold to each loyal and reliable customer.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: