[lazarus] QT Slots

Baeseman, Cliff Cliff.Baeseman at greenheck.com
Mon May 24 10:02:33 EDT 1999


That might lead to some interesting things happening. Inside of the toolkit
I do not think I would ever try to connect
two event handlers to the same slot.  Seems to me they did that for
multithreading support?

Cliff

-----Original Message-----
From: Paul Gearon [mailto:pag at tams.com.au]
Sent: Sunday, May 23, 1999 9:23 PM
To: 'lazarus at miraclec.com'
Subject: RE: [lazarus] KCL and Open for Opinion


<<snip>>
> They also have a signal-and-slot mechanism (as found in Qt) 
> that could be adopted
> to GTK, from what I saw. This would allow multiple slots for 
> 1 signal etc.
> (i.e. multiple event handlers get triggered for the same event).

It's probably OK, but I would be a little concerned about this.  QT slots
are not guaranteed to receive their signals in any particular order, whereas
gtk signals ARE guaranteed to occur in the order in which they were
connected.  Most of the time this won't mean a thing, but every so often it
might have real consequences.

Or are my fears groundless?

Regards,
Paul

Paul Gearon
gearon at computer.org

Catapultam habeo. Nisi pecuniam omnem mihi dabis, ad caput tuum saxum immane
mittam.
(Translation from latin: "I have a catapult. Give me all the money, or I
will fling an enormous rock at your head.") 

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list