GTK.Clock
 
   
[Top]
predef::
GTK
GTK.Clock

Class GTK.Clock

Description

The GtkClock widget provides an easy way of providing a textual clock in your application. It supports realtime display, as well as count up and count down modes. The clock widget could conceivably be used in such applications as an application's status bar, or as the basis for a panel applet, etc.

Three modes of operation are supported. These are realtime - which displays the current time, count-up/increasing - which counts up from an initial value (like a stopwatch), and count-down/decreasing - which counts down from an initial value.

Note, however, that the accuracy of the gtkclock widget is limited to 1 second.

 GTK.Clock( GTK.ClockRealtime );

 GTK.Clock( GTK.ClockDecreasing )->set_seconds(10000)->start();


Inherit Label

inherit GTK.Label : Label


Insert any HTML comment here. You can use any HTML tags and containers. Use <phl> ... </phl> if you'd like to insert some Pike / C examples or code.
 
HTML OK CSS