[Lazarus] Lazarus make me create better apps

Michael Schnell mschnell at lumino.de
Thu May 6 15:22:10 CEST 2010


On 05/06/2010 01:34 PM, Michael Van Canneyt wrote:
>
>
> On Thu, 6 May 2010, Michael Schnell wrote:
>
>>
>> 1) new __functional__ GUI-less Widget Type
>
> As discussed many times before:
>
> You don't need a full-blown widget type for this.
>
> You simply need an event queue. 

That is exactly what I request (and what I already partly implemented):
enhance the existing NoGUI Widget set (simply) by a event queue. Here it
would be a good ide to reuse the proven event  queue code provided by
the GTK(2) Widget type. (Only same should be moved out of the forms*
files into it's own ones to make it reusable without copying it.)

A greater challenge is to do (e.g.) the TTimer for this Widget set that
will one of the components that provide events for that queue. Here I do
have a working Linux example taken from MSEIDE (using a signal on the
low-level (Linux only)

> You are trying to kill a fly with a cannon
> if you want a widget-set.

What is wrong with killing a fly with a cannon, if you do it once and it
makes designing many subsequent projects a lot easier to do...

-Michael




More information about the Lazarus mailing list