[Gtk-sharp-list] Overriding Key events in NodeView
p.zurek at gmail.com
Wed Aug 2 17:17:46 EDT 2006
In the NodeView, with an editable column, pressing "Enter" causes the
active cell to enter the editing mode. The same thing happens, when the
"Space" is pressed. How can I override those events to get them to do
The method below doesn't even display the "key" for "Enter" or "Space".
void outlineView_KeyPressEvent (object o, KeyPressEventArgs args)
string key = args.Event.Key.ToString();
And one more quick question. How to get a reference to an
expanded/collapsed TreeNode in the NodeView? The Gtk.RowCollapsedArgs
returns reference to TreeIter or TreePath. How do I get those to point
me to a TreeNode?
More information about the Gtk-sharp-list