[IronPython] How to make a gtk event?

Martin Matusiak numerodix at gmail.com
Wed Apr 13 09:23:37 PDT 2011


Hey guys,

I'm writing a program using using gtk# and I have a custom widget that
I want to make an event for. Here is what an event looks like:

>>> print self.mainwindow.Shown
<IronPython.Runtime.Types.ReflectedEvent+BoundEvent object at
0x000000000000002B
[IronPython.Runtime.Types.ReflectedEvent+BoundEvent]>

So I seem to need to instantiate this type with my event name and
trigger function somehow as parameters, but I don't know how. Any
ideas?


Martin


More information about the Users mailing list