GtkProgressBar::set_discrete_blocks

void set_discrete_blocks(int blocks);

WARNING! This method has been deprecated in PHP-GTK 2 and should NOT be used in newly written code.

Sets the number of blocks that the progress bar is divided into when the style is Gtk::PROGRESS_DISCRETE.