[Gtk-sharp-list] [Mono-dev] Gtk depends on Winforms ¿?

Chris Howie cdhowie at gmail.com
Wed Sep 9 12:10:22 EDT 2009


On Wed, Sep 9, 2009 at 11:05 AM, Christian Hoff <christian_hoff at gmx.net> wrote:
> as you may have noticed, old Gtk# versions (< 2.12.8) did not use XP's
> visual styles. Later versions have a workaround: they call
> System.WIndows.Forms.Application.DoEvents which seems to enable XP's
> theming. This workaround is far from optimal as it created a Winforms
> dependency.
>
> That's why I tried to integrate the code of Application.DoEvents into Gtk#
> directly.

Surely you could just try to invoke it via reflection and ignore any errors?

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


More information about the Gtk-sharp-list mailing list