greder
1
Hi all,
I’d like to loop over pads in a canvas in a lazy way:
for( int i = 1 < can->GetNPad(); ++i ) { can->cd(); … }
but cannot see such a way to access the number of pads ( they don’t seem to be
counted ).
Would it be possible to add such a feature ?
cheers,
seb
couet
2
greder
3
Hi,
sorrily this doesn’t reply to my question: how do I get access to the number
of (sub-)pads so that I can blindly loop over them ?
cheers,
seb
couet
4
if the pad does not exists cd() returns 0. That’s enough to end the loop I guess.