Confused about $data=undef in API documentation

2009-07-11 Thread Joseph Thames
Hello, I am confused about your use of $data=undef in the Glib documentation, as in: unsigned = $instance->*signal_connect* ($detailed_signal, $callback, $data=undef) - $detailed_signal (string) - $callback (subroutine) - $data (scalar) arbitrary data to be passed to each inv

Re: Confused about $data=undef in API documentation

2009-07-11 Thread muppet
On Jul 11, 2009, at 10:58 AM, Joseph Thames wrote: Hello, I am confused about your use of $data=undef in the Glib documentation, as in: unsigned = $instance->signal_connect ($detailed_signal, $callback, $data=undef) • $detailed_signal (string) • $callback (subroutine) •

Re: Confused about $data=undef in API documentation

2009-07-11 Thread Joseph Thames
On Sat, Jul 11, 2009 at 12:15 PM, muppet wrote: > > On Jul 11, 2009, at 10:58 AM, Joseph Thames wrote: > > Hello, >> >> I am confused about your use of $data=undef in the Glib documentation, as >> in: >> > > unsigned = $instance->signal_connect ($detailed_signal, $callback, >> $data=undef) >>

Re: Confused about $data=undef in API documentation

2009-07-13 Thread Dave Howorth
Joseph Thames wrote: > Ok, now I understand. I think I was misled by most of the examples, > which all seem to show callbacks statically the same as the > Glade-specified menuitem names. You understand perfectly how to write a patch for the docs so they are clearer, then :) Cheers, Dave _