GpwStrftime — A GtkLabel showing a provided time string
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkMisc
+----GtkLabel
+----GpwStrftime
GpwStrftime is GtkLabel widget with its content based on strftime(): as such it can show any string returned by strftime(). This allows to express both date and time throught a single or different labels based on the same widget.
The GpwStrftime:format property specifies the template argument to pass to strftime(). There is an hardcoded limit of 255 chars for label length.
With GpwStrftime:period (an unsigned integer value expressed in milliseconds) you can fine tune the frequency of updates. Setting it to 0 will disable the updating of tha label.
GpwStrftimewas last modified by gtk-doc on Tue 04 Aug 2009 09:51:04 PM CEST