Confused about $data=undef in API documentation



Hello,

I am confused about your use of $data="" in the Glib documentation, as in:

unsigned = $instance->signal_connect ($detailed_signal, $callback, $data="">

Does this simply mean that undef (NULL) is the default value of the $data parameter, or does it mean that passing unique user_data to a callback is not yet supported in this API?

I am trying to figure out a way to employ a common callback function for an "unlimited" number of menu items (determined at run-time) by passing unique user_data for each signal.

This does not seem to be supported by the $builder->connect_signals method, which can only pass the same user_data to a group of unique callback functions.

Thanks in advance,

beartham



--
Joseph 'Bear' Thames
Meta Science Foundation
(505) 977-9024 - Cell Phone
beartham gmail com


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