GtkSignalFunc



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

GTK's API reference mentions GtkSignalFunc, used at
least in gtk_toolbar_append_item and company and
undoubtedly plenty of other places. Both the API
reference and the header files indicate that a
GtkSignalFunc has a void parameter list, but the
above-mentioned toolbar functions take an argument to
pass as a data parameter to the GtkSignalFunc
callback. What gives? Shouldn't a GtkSignalFunc in
fact probably take at least two parameters, one
pointing at what emitted the signal and another for
the user data, and if so, why are they claimed to take
nothing even in the header files? I guess they by
definition (from the header files) take nothing, but
then why do some functions ask for user data to pass
to them, and how can you find out who or what emitted
the signal?

Tommy McDaniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+vfyzVB8FYP9YqDcRAgIHAJ4ylXt7Ljoww6/UwOn62bDJaCialwCghPdV
gRxkQTh57PKa3aWBQsOY79M=
=E6X0
-----END PGP SIGNATURE-----


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



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