[pygtk] what difference is between "Signal" and "Event"

John Finlay finlay at moeraki.com
Tue Dec 18 06:50:21 WST 2007


Steven Brown wrote:
> Hmm, this bothered me before... from the top of my head:
> An event is higher level. GTK?
> A signal is lower level. GDK?
> An event is often a collection of signals and certain conditions. A
> button emits a "clicked" event when the mouse button is clicked (down,
> not moved off the button, and then up). The mouse-down would be a signal.
> OR... the Mouse-down event fires the Mouse-down signal. The difference
> here would be the user causes events, which emit signals, which are
> handled by the application. But the application can fire signals
> itself, without user input.
> I think the terms are often used interchangably.
> Anyone, please correct any false information. :)
>
http://www.gtk.org/faq/#AEN556



More information about the pygtk mailing list