Hi Yann, Doing it the long way may work... static bool ctrldown = false ; char codeforctrlkey = GDK_Control_L; // or whatever code is returned gboolean keypresscallback ( GtkWidget * w, ...) { if ( event->keyval == codeforctrlkey ) { ctrldown = true ; } else if ( ctrldown && (event->keyval == 'C') ) { // action } } gboolean keyreleasecallback ( GtkWidget * w, ...) { if ( event->keyval == codeforctrlkey ) { ctrldown = false ; } } Ken --- On Sat, 30/1/10, Yann Leboulanger <asterix@xxxxxxxxxxx> wrote:
|
New Email names for you!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list