Re: problem with $liststore->set
- From: "muppet" <scott asofyet org>
- To: gtk-perl-list gnome org
- Subject: Re: problem with $liststore->set
- Date: Wed, 20 Jul 2005 15:23:54 -0400 (EDT)
Jens Luedicke said:
is it a known problem that something like this
$liststore->set($iter, 0, $stuff->return_value);
behaves differently than
$val = $stuff->return_value;
$liststore->set($iter, 0, $val);
!?
I wouldn't call it a "problem". By perl's rules, the subroutine will be
called in list context in the first case.
I just had a problem with the first case. The liststore complained and
returned a warning.
What was the warning? Something like this?
Usage: $liststore->set ($iter, column1, value1, column2, value2, ...)
the first value in each pair must be a column number at foo.pl line 15.
--
muppet <scott at asofyet dot org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]