The default style of a progress bar upon creation is GTK_PROGRESS_CONTINUOUS. This method may be used to change it to the style specified in the style parameter (GTK_PROGRESS_CONTINUOUS or GTK_PROGRESS_DISCRETE) when the progress bar is in percentage mode.
Note that the progress bar will not display text if it is drawn in the discrete style.
See also: set_discrete_blocks() .