This method specifies the step increment for the progress bar. The step increment is the amount by which the progress bar advances its current position when the step() method is called without an increment value.

By default, the underlying progress bar uses a default step of 10. It is not neccessary to set the step at all if 10 is satisfactory.


Raises syntax errors when incorrect arguments are detected.


The single optional argument is the new step increment. The default step increment is 10.

Return value:

This method returns the previous step increment.