Re: Callback prototypes and parameters



At Tue, Aug 12, 2003 at 08:10:50AM -0700, John Goetz wrote:
> When an event occurs and a signal is emitted, the system finds and invokes 
> a callback. How does the system know what information/arguments to send to 
> the callback?

Check out the tutorial, especially the Theory of Signals and Callbacks.

<http://www.gtk.org/tutorial/>
<http://www.gtk.org/tutorial/sec-theoryofsignalsandcallbacks.html>

A detailed reference for GTK+, GLib, and friends is at
<http://www.gtk.org/api/>, once you're done with the tutorial.

-- 
Chad Daelhousen
My opinions are my own, until UB purchases my soul.




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