Key bindings for specific widgets

Hi, I’m wondering how one normally adds key bindings for specific
widgets using ruby-gtk… I’m pretty new to gtk in general.

Basically, I’m wanting to set up a key binding for adding a new
element to a tree model [and having this add reflected in the
appropriate treeview]

Eventually I’d like to be able to have an .rc file or something that
defines the key bindings for my whole application, but I figured I’d
start small.

Thanks,
Alex


This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/