GtkProgressBar::set_discrete_blocks

void set_discrete_blocks(int blocks);

When the progress bar has discrete style, it is divided into a number of blocks. This method can be used to change the number of these blocks.

The default value is 10.