Re: [gtk-list] Re: :gtk design question (events vs signals)




On Mon, 26 Apr 1999, Jason Stokes wrote:
> 
> >From the viewpoint of the programmer who's thrown control to the standard GTK 
> event loop, it looks like this:  you've got your GTK machine that drives your 
> event-driven application.  From time to time some things happen, like a 
> toggle-button widget being toggled; these user actions emit signals that you 
> associate with callback functions.  From time to time, other things happen, 
> such as a DestroyEvent; but these things are called "events", not signals, 
> even though you handle them much the same way by associating them with 
> callback functions, but with a different syntax.
> 

Just to add one thing to what Federico said: there is no way to connect
callbacks to events, you can only connect to signals. What syntax do you
mean?

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]