Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK
GTK.Progress

Method GTK.Progress()->set_format_string()


Method set_format_string

GTK.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%%'