pike.hubbe.net

[Top]
GTK
GTK.Clock
previousGTK.Clock()->create() GTK.Clock()->set_seconds()next

Method GTK.Clock()->set_format()


Method set_format

object(GTK.Clock) GTK.Clock()->set_format(string fmt)

Description

Set the format of a GtkClock widget. The syntax of the format string is identical to that of the function strftime(3). Further information about time format strings can be found on this man page. The widget defaults to a format string of "%H:%M" in realtime mode, or "%H:%M:%S" in count-up or count-down modes.


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