Re: [Ironruby-core] Mismatch in cases of names of events

2008-02-15 Thread John Lam (DLR)
Robert Brotherus: > CLR name of the event Name of event seen in IronRuby > "Click" "click" > "Loaded""loaded" > "MouseEnter""MouseEnter" Nope. This is definitely a bug in the name mangling. It should be mouse_enter or Mo

Re: [Ironruby-core] Mismatch in cases of names of events

2008-02-15 Thread Tomas Matousek
Have you tried mouse_enter? Tomas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Brotherus Sent: Friday, February 15, 2008 12:10 AM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] Mismatch in cases of names of events I have made a test a

[Ironruby-core] Mismatch in cases of names of events

2008-02-15 Thread Robert Brotherus
I have made a test app with XAML + WPF + IronRuby event handlers (IronRuby revision 76). The code of the Ruby-part (EventManager.rb) is below. Due to lack of other working mechanisms of connecting the Ruby-methods to the WPF-events, I ended up in passing the widget reference to Ruby in a global var