mono / gtk-sharp

Gtk# is a Mono/.NET binding to the cross platform Gtk+ GUI toolkit and the foundation of most GUI apps built with Mono
http://www.mono-project.com/GtkSharp
Other
428 stars 140 forks source link

[Parser,Gtk] Support custom class handler signals from gtk. #187

Closed Therzok closed 7 years ago

Therzok commented 7 years ago

This patch is the simple variant of implementing the signal handlers for the binding events. It implements class_closure signal handlers for the events which don't match the signal_new regex. Added some name sanitization to match C# events - KeynavFailed conflicts with the method which triggers this, so I made it use KeynavFail as an event name.

There is no simple way to use implement it the proper way, so this should work for now.