GtkProgress::set_format_string

void set_format_string(string format);

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

Sets a format string used to display text indicating the current progress. The string can contain the following substitution characters:

  • %v - the current progress value.
  • %l - the lower bound for the progress value.
  • %u - the upper bound for the progress value.
  • %p - the current progress percentage.