![]() |
![]() |
![]() |
GNOME Desktop Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
struct GnomeWallClock; struct GnomeWallClockClass; GnomeWallClock * gnome_wall_clock_new (void
); const char * gnome_wall_clock_get_clock (GnomeWallClock *clock
); GTimeZone * gnome_wall_clock_get_timezone (GnomeWallClock *clock
);
GnomeWallClock * gnome_wall_clock_new (void
);
Creates a new GnomeWallClock
Returns : |
the new clock |
const char * gnome_wall_clock_get_clock (GnomeWallClock *clock
);
Returns the string representing the current time of this clock according to the user settings.
|
a GnomeWallClock |
Returns : |
the time of the clock as a string. This string points to internally allocated storage and must not be freed, modified or stored. |
GTimeZone * gnome_wall_clock_get_timezone (GnomeWallClock *clock
);
Returns the current local time zone used by this clock.
|
a GnomeWallClock |
Returns : |
the GTimeZone of the clock. [transfer none] |
"clock"
property"clock" gchar* : Read
A formatted string representing the current clock display.
Default value: NULL
"time-only"
property"time-only" gboolean : Read / Write
If TRUE
, the formatted clock will never include a date or the
day of the week, irrespective of configuration.
Default value: FALSE