What would you rewrite in D?

Daniel Gibson metalcaedes at gmail.com
Wed Oct 6 16:36:26 PDT 2010


Nick Sabalausky schrieb:
> "Robert Clipsham" <robert at octarineparrot.com> wrote in message 
> news:i8it3t$26f5$1 at digitalmars.com...
>> On 06/10/10 23:03, Nick Sabalausky wrote:
>>>> Ok, for me GTK is native because I use Linux and a GTK based desktop.
>>>> I know that there's a native GTK port for OSX/Quartz and I thought GTK 
>>>> had
>>>> themes to look native on Windows?
>>>>
>>> It does make a vague attempt to look native on Windows, and is FAR better 
>>> in
>>> that regard than, say, Swing, Winamp, Iron/Chrome, or pretty much 
>>> anything
>>> from Apple. But there's still rather noticable differences in both look 
>>> (the
>>> chunkiness I mentioned, just as one example) and in feel (particulary if
>>> you're using GIMP). It's kinda like gluing a picture of some wings 
>>> overtop
>>> the logo on a Ferrari and saying "See, it's an Aston Martin!"
>> Platform wise, GTK looks appalling on OS X, acceptable, if non-native on 
>> Windows (I think there's a GTK theme that fixes this, not sure), and, 
>> well, you use it on linux.
> 
> Unless you're a KDE (or Xfce) user. Which actually brings up another thing: 
> It's my understanding that wxWidgets can use other things than just GTK on 
> Linux. And AIUI, Qt and KDE are tied togther in the same way as GTK and 
> GNOME, so does that mean Qt won't use GTK for Linux users running GNOME? 
> 

Lots of Qt applications don't use kdelibs and lots of GTK applications 
don't use gnomes libs so I wouldn't say they're tied together.
Newer Qt versions can use GTK themes and even GTKs filepicker, so they 
feel native for non-kde-users. (Getting this to work can however be a 
bit tricky, at least when using xfce the correct theme isn't detected 
out of the box)


More information about the Digitalmars-d mailing list