pike.hubbe.net

[Top]
GTK
GTK.Progress
previousGTK.Progress()->set_adjustment() GTK.Progress()->set_percentage()next

Method GTK.Progress()->set_format_string()


Method set_format_string

object(GTK.Progress) 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%%'


Extracted from Pike v7.3 release 11 at 2001-11-03.