Without seeing your code, to get the rows, try
sub getlist {
my $tree = shift;
my @list = $tree->infoChildren(shift);
if (@list) {
foreach my $entry (@list) {
push(@ListOfAllEntries, $entry);
getlist($tree, $entry);
}
}
}
# Is there an easy way to find the # of columns and rows of a HList?
# For columns: $hlist->cget(-columns)
# For rows, I could not found an easy way. You can use
# $hlist->info("children") to traverse the whole tree and get the row
# number.
|