Confused about $data=undef in API documentation
- From: Joseph Thames <beartham gmail com>
- To: gtk-perl-list gnome org
- Subject: Confused about $data=undef in API documentation
- Date: Sat, 11 Jul 2009 08:58:24 -0600
Hello,
I am confused about your use of $data="" in the Glib documentation, as in:
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]