[Mono-dev] Gtk# 2.8.4 runtime for windows?

Michael Hutchinson m.j.hutchinson at gmail.com
Wed Apr 16 18:53:10 EDT 2008


On Wed, Apr 16, 2008 at 5:39 PM, Alan McGovern <alan.mcgovern at gmail.com> wrote:
> Hi,
>
>  You can work around it by using reflection to test whether that event
>  exists, and if it does you can then register a handler to it. That way
>  you can use the new feature without having to lose compatibility with
>  2.8.

E.g.

http://anonsvn.mono-project.com/viewcvs/trunk/monodevelop/main/src/core/MonoDevelop.Core.Gui/MonoDevelop.Core.Gui/GLibLogging.cs?view=markup

(that also has some other cool GTK.GDK/GLib logging stuff for
generating managed traces when they emit warnings and criticals)

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Mono-devel-list mailing list