Re: Keybindings

2011-10-18 Thread Bernhard Schuster
I think this is what you want, though I am not 100% sure: http://developer.gnome.org/gtk3/stable/gtk3-Keyboard-Accelerators.html ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Keybindings

2011-10-18 Thread Neil Munro
ignal_connect (window, "key_press_event", G_CALLBACK (keyBindings), > NULL); > > gtk_widget_show (window); > gtk_main(); > return 0; > } > > Dong > > -- > *From:* Neil Munro > *To:* gtk-app-devel-list@gnome.org > *Se

Re: Keybindings

2011-10-18 Thread Dong Luo
w = gtk_window_new (GTK_WINDOW_TOPLEVEL);     g_signal_connect (window, "key_press_event", G_CALLBACK (keyBindings), NULL);     gtk_widget_show (window);     gtk_main();     return 0; } Dong From: Neil Munro To: gtk-app-devel-list@gnome.org Sent: Monday, O

Re: Keybindings

2011-10-17 Thread Neil Munro
On 17 October 2011 15:54, Dong Luo wrote: > Hi, > > I did not use gtk recently. But I figure you can just let the toplevel > widget response to the signal of key-press-event and do what ever > Keybindings you want there. > > Dong > Could you show me an example as I have figured out the key-press

Re: Keybindings?!

2006-06-20 Thread blythe2
> Check this out: http://www.gtk.org/tutorial/x201.html, > connect the right signal and you're on your way. Thank you very much! I was caught up looking through all the keybinding information, which appears on the surface to be what I was looking for. This works perfectly. -Nate __

Re: Keybindings?!

2006-06-19 Thread Kenneth Østby
Hi. On 6/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Does anyone know of a tutorial (or even documentation with comments) that > explains how to connect key presses to functions? Check this out: http://www.gtk.org/tutorial/x201.html, connect the right signal and you're on your way.