[Mono-list] OT: GTK+ on windows

Miguel de Icaza miguel@ximian.com
06 Jan 2003 16:32:03 -0500


Hello,

> I remember I've made an application 4 years ago (using Win32, for Win98),
> never recompiled it and today it's taking full advantage of all additions MS
> has made to Windows GUI. I don't use fancy features like sliding or fading
> menu bars but some people do.
> 
> The real question is: since GTK seems to draw all widgets by itself, is it
> EVER possible to use Windows-provided methods in (at least) some cases?

Yes, it would be possible.  In fact, the rendering of the widgets is
isolated in a single file (last time I checked it was gtkstyle.c) that
basically contains routines like:

	gtk_draw_button (..)
	gtk_draw_scrollbar (..)
	gtk_draw_radiobutton (..)

Someone with expertise on Win32 could use the rendering routines from
Windows to make it match the "look" of the system.

Miguel