Version française
Home     About     Download     Resources     Contact us    
Browse thread
Does LablTk have a future?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Bardur Arantsson <spam@s...>
Subject: Re: Does LablTk have a future?
Jon Harrop wrote:
> On Tuesday 30 August 2005 13:22, David MENTRE wrote:
> 
>>2005/8/30, Jon Harrop <jon@ffconsultancy.com>:
>>
>>>Incidentally, OpenGL is extremely important for us. So a GUI toolkit must
>>>be able to handle OpenGL widgets. Indeed, this begs the question: why not
>>>do the whole thing in OpenGL?
>>
[--snip--]

>>And because you loose 
>>the ability to have native interface on all paltforms (Gnome, KDE,
>>Windows 2k, Windows XP, MacOS X, ...).
> 
> 
> Yes but we gain the ability to have a better interface on all platforms.
> 

Nonsense. For special cases it may appear that writing a GUI toolkit is 
easy. What everbody seems to forget whenever this discussion comes up is 
that writing a GUI toolkit that's useful for *general* use is hard. Very 
hard. You need to worry about such things as BiDi, accessibility, 
feel-compatibility with the "host" platform (ie. things like identical 
focus handling, interaction with other programs through DnD, etc. etc.), 
  proper widget design, etc. etc.

In short: The solution seems easy to you because you're only seeing a 
subset of the problem.

Just a small real life example of why not to do this: The Mozilla people 
wrote their own GUI toolkit and after all these years they *still* 
haven't been able to fix all the focus problems. (Note: They actually 
had valid reasons for doing so, among other things the fact that none of 
the GUI toolkits at the time could do some of the things required for 
full standards compliance.)

-- 
Bardur Arantsson
<bardur@imada.sdu.dk>
<bardur@scientician.net>

Dyslexic, agnostic insomniac: One who lies awake at night
wondering if there really is a dog.
                                                         Anonymous