PyQwt has a partial interface to the following dictionary iterators:
The iterators cannot be instantianated from Python, but are returned by a few methods. They are not equivalent to Python iterators. An usage example is:
>>> plot = qplt.testPlot() >>> iterator = plot.curveIterator() >>> curve = iterator.next() >>> while curve: ... print curve ... curve = iterator.next() ... <Qwt4.Qwt.QwtPlotCurve object at 0xb28c8a2c> <Qwt4.Qwt.QwtPlotCurve object at 0xb28c8e2c> <Qwt4.Qwt.QwtPlotCurve object at 0xb28c8a2c> <Qwt4.Qwt.QwtPlotCurve object at 0xb28c8e2c> >>>
) |
) |
) |
True
if the dictionary is empty, i.e. count() == 0;
otherwise returns False
.
) |
If the dictionary is empty it sets the current item to None
and
returns None
.
) |
If the current iterator item was the last item in the dictionary or if it
was None
, None
is returned.
) |
) |
) |
True
if the dictionary is empty, i.e. count() == 0;
otherwise returns False
.
) |
If the dictionary is empty it sets the current item to None
and
returns None
.
) |
If the current iterator item was the last item in the dictionary or if it
was None
, None
is returned.
) |
) |
) |
True
if the dictionary is empty, i.e. count() == 0;
otherwise returns False
.
) |
If the dictionary is empty it sets the current item to None
and
returns None
.
) |
If the current iterator item was the last item in the dictionary or if it
was None
, None
is returned.