deadpickle has asked for the wisdom of the Perl Monks concerning the following question:

Just a quick question:
I want the user to be able to type in a Gtk2::Treeview widget and then press "Ctrl+S" to send the contents of the widget. I know how to grab the contents of the Treeview and I know the signal that is used ("key-press-event) I just don't know how to capture the "Ctrl+S" key press.

Replies are listed 'Best First'.
Re: Key Press in Gtk2
by Anonymous Monk on Feb 08, 2008 at 07:26 UTC
    Set up a menu, and use <ctrl>S as an accelerator
Re: Key Press in Gtk2
by Anonymous Monk on Feb 08, 2008 at 07:36 UTC