Pike v8.0 release 1738

Method GTK1.Progress()->set_format_string()


Method set_format_string

GTK1.Progress set_format_string(string format)

Description

More or less like sprintf. %[field width][character] 0<=width>=2 Supported characters:

 %: Insert a %
 p or P: The percentage completed, with 'digits' number of decimals
 v or V: The actual value, with digits decimals.
 l or L: The lower value (from the adjustment)
 u or U: The higer value (from the adjustment)
 %: Insert a %
 
The default format is '%P%%'