[Gtk-sharp-list] thoughts on Event

Rachel Hestilow hestilow@ximian.com
26 Jun 2002 04:18:26 -0500


While we most certainly should still aim for eventual struct marshalling
of most structs, I think GdkEvent is such an odd case it needs to be
wrapped by hand. I say this because the various Events really ought to
be organized as subclasses, but instead they're expressed in C using a
hackish union+struct field sharing approach. It'd be fairly easy to
disable generation for Event structs and use customized wrappers
instead, and there are a lot of signals in Gtk+/Gnome that aren't
currently being wrapped because GdkEvent* isn't wrapped.

Thoughts?

-- Rachel