i am trying to make an F1 and F11 accel in C,GTK but i only seem to find Python examples and fail miserably.

http://ubuntuforums.org/showthread.php?t=1778668 how can i make that in c ?