Re: gtk on windows



Hi,

Roger Leigh <rleigh whinlatter ukfsn org> writes:

> Sashan Govender <sashang gmail com> writes:
>
>> Quick question. Does GTK emulate the controls/widgets on windows or
>> are they native?
>
> It can do both.  There's a native windows theme that uses the GDI to
> draw (included by default in 2.6 IIRC), or you can use the normal
> themes.  If you use the X11 backend, it's identical to normal GTK+.

Sorry, but that is not correct. GTK+ on Win32 always uses GDI for
drawing (unless you are using an X11 server on Windows which is of
course possible but noone does that nowadays).  That doesn't make
GTK+/GDK actually use the native controls, it only uses the native
lowlevel drawing routines. The theme you are refering to doesn't
change that, it just mimicks the look of the native widgets.


Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]