| Top |
| GnomeWallClock * | gnome_wall_clock_new () |
| const char * | gnome_wall_clock_get_clock () |
| GTimeZone * | gnome_wall_clock_get_timezone () |
| char * | gnome_wall_clock_string_for_datetime () |
const char *
gnome_wall_clock_get_clock (GnomeWallClock *clock);
Returns the string representing the current time of this clock according to the user settings.
GTimeZone *
gnome_wall_clock_get_timezone (GnomeWallClock *clock);
Returns the current local time zone used by this clock.
char * gnome_wall_clock_string_for_datetime (GnomeWallClock *self,GDateTime *now,GDesktopClockFormat clock_format,gboolean show_weekday,gboolean show_full_date,gboolean show_seconds);
“clock” property“clock” gchar *
A formatted string representing the current clock display.
Flags: Read
Default value: NULL
“time-only” property“time-only” gboolean
If TRUE, the formatted clock will never include a date or the
day of the week, irrespective of configuration.
Flags: Read / Write
Default value: FALSE