gtkD problems and general gui question.

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Oct 24 07:07:41 PDT 2011


On 10/24/11, Nick Sabalausky <a at a.a> wrote:
> (ie, garbage non-native controls)

In reality you don't even need to use native controls to create a true
native look. In fact using true native controls is expensive, and even
IE/Office use custom-drawn widgets that only appear native.

There are theming API's in XP+ systems which for example Qt uses to
make all widgets appear native (even if you use a custom theme). I
think they still had to "simulate" the feel of some of the controls
(scroll bars, ok/cancel button positions), but that's not too
difficult to do. What Qt doesn't simulate are the common controls
(e.g. file open dialogs), they just invoke an API function for that.

AFAIK Gtk does none of those things. You can still use common controls
for file dialogs, but I've yet to see any Gtk programmer do this.


More information about the Digitalmars-d-learn mailing list