Re: [IronPython] How to make a gtk event?

2011-04-14 Thread Martin Matusiak
to. -Original Message- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Martin Matusiak Sent: Wednesday, April 13, 2011 9:41 AM To: Discussion of IronPython Subject: Re: [IronPython] How to make a gtk event? I'm not talking about

Re: [IronPython] How to make a gtk event?

2011-04-14 Thread Dino Viehland
[mailto:numero...@gmail.com] Sent: Thursday, April 14, 2011 1:57 AM To: Discussion of IronPython Cc: Dino Viehland Subject: Re: [IronPython] How to make a gtk event? Yes, that works. But pedantically speaking, is it possible to manufacture an event that would agree on type with the gtk produced ones

Re: [IronPython] How to make a gtk event?

2011-04-13 Thread Dino Viehland
Martin wrote: 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 0x002B

Re: [IronPython] How to make a gtk event?

2011-04-13 Thread Martin Matusiak
I'm not talking about the handler, I'm talking about creating a new event for this widget. As in: mywidget.SomethingHappened += some_handler 2011/4/13 Dino Viehland di...@microsoft.com: Martin wrote: Hey guys, I'm writing a program using using gtk# and I have a custom widget that I want to

Re: [IronPython] How to make a gtk event?

2011-04-13 Thread Dino Viehland
Message- From: users-boun...@lists.ironpython.com [mailto:users- boun...@lists.ironpython.com] On Behalf Of Martin Matusiak Sent: Wednesday, April 13, 2011 9:41 AM To: Discussion of IronPython Subject: Re: [IronPython] How to make a gtk event? I'm not talking about the handler, I'm