You define the callback function in your program and GTK calls it when the event happens. GTK then sets all actual parameters of the call. There are no default parameters. The data types of the actual parameters passed by GTK are exactly those that are defined for the callback function. The last parameter in signal connect is for the user. Typically it is the address of some data structure that is needed for the application to be able to handle the event. It is 'remembered' by GTK and passed as an actual parameter when GTK calls the callback function. If the event handling does not need userdata, just put NULL as the last parameter of signal connect. --- On Sat, 30/1/10, Teste123 Teste123 <asb1231@xxxxxxxxx> wrote:
|
Get your new Email address!
Grab the Email name you've always wanted before someone else does!
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list