Left Top
About
Code
Contact
Digitemp
Jabber
Write-Ups
Blank
w3c_v
Illx Logo
 
Code -> C
 
Illx Code Page:
 
  • A very simple clock in C using the GTK+ 1/2 libraries
    • Version 0.1: (for gtk1) source
      to compile it, run:
      gcc simple_clock.c -o simple_clock `gtk-config --cflags` `gtk-config --libs`
      Assuming 'gtk-config' is in your $PATH

    • Version 0.2: (for gtk2, and with TimeZone info) source
      NOTE: You can change the timezone by changing the TZ environment variable
      Example: export TZ=MDT (for Mountain Daylight Time)
      to compile it, run:
      gcc simple_clock-0.2.c -o simple_clock `pkg-config --cflags gtk+-2.0` \
         `pkg-config --libs gtk+-2.0`

      Assuming 'pkg-config' is in your $PATH
Simple Clock Screenshot 0.1




Simple Clock Screenshot 0.2