[Gtk-sharp-list] Switching focus on objects as pressing "tab" key ?

Peter Johanson peter at peterjohanson.com
Mon Mar 17 11:43:09 EDT 2008


On Sun, Mar 16, 2008 at 10:23:53PM +0100, Jesper K. Pedersen wrote:
> 
> I had hoped there were either a way to "inject" a keycode in the gtk
> key event system or a simple way to switch to the next gtk.entry object.

Try looking at Gtk.Widget.ChildFocus (DirectionType). See:

http://go-mono.com/docs/monodoc.ashx?link=M%3aGtk.Widget.ChildFocus(Gtk.DirectionType)

It's usually for actual custom widget implementations, but may work for
what you need.

-pete


More information about the Gtk-sharp-list mailing list