#include int Paused = 0; void handle_xevent(CltrWidget *win, XEvent *xev, void *cookie) { KeySym kc; CltrVideo *video = CLTR_VIDEO(cookie); if (xev->type == KeyPress) { XKeyEvent *xkeyev = &xev->xkey; kc = XKeycodeToKeysym(xkeyev->display, xkeyev->keycode, 0); switch (kc) { case XK_Return: if (Paused) cltr_video_play (video, NULL); else cltr_video_pause (video); Paused ^= 1; break; } } } int main (int argc, char *argv[]) { CltrWidget *win, *video, *label; CltrFont *font; PixbufPixel col = { 0x66, 0x00, 0x00, 0x99 }; cltr_init (&argc, &argv); if (argc != 2) { g_print ("usage: %s