Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>:
> On 22/01/2008, Mattias Gärtner <[EMAIL PROTECTED]> wrote:
> > About: move from LCL to widgetset
> > That was the goal of lazarus from the beginning.
>
> OK, I get that and respect the choice. I'm simply wondering (from a
> personal point of view) if it's still the right way of doing things?
> Considering you have years of experience with Lazarus development...
> If you could do it (Lazarus LCL) over again, what would you change?
I would optimize it for smart linking and a console widgetset.
> Hindsight is a awesome thing. :-)
>
> > Keep in mind that using the native widgets has several advantages:
> > - native look. Even when user switches theme or OS.
>
> As I mentioned before. This is very easy to achieve - Trolltech has
> proved this. Simply ask the native widget to draw itself on a memory
> bitmap. All native toolkits send out a message when the theme
> changes, so it's very easy to detect that as well.
Why should qt render a native button, if they can draw a qt button with a
'native' looking theme? Are you sure, that qt uses native widgets?
> > - widgetset specific goodies: e.g. tab menu of gtk notebook, unicode input
> > method, assistive technology, hardware acceleration, network support (X
> > client/server modell).
>
> All this can be implemented in a custom drawn toolkit.
Yes, by reinventing the wheel.
> At least that way all platforms will have these features. Currently only GTK
> Notebook has tab menu for example.
A Mac user will be confused if she sees this menu.
A disabled person wants to use his OS features and not setup this for each
program.
> LCL now needs to support a basic
> set of features which are common to all widget sets - nothing more
> otherwise it's not compatible across widget sets.
Only the API is limited to the common features. The program is not limited.
As said above: You get extra features of the widgetset.
And if a programmer needs uncommon things, he can write a specific control. See
for example the printers4lazarus or the lazopenglcontext package. They started
on one platform and nowadays they run on all majors.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives