[Gtk-sharp-list] Prevent focus in panels.
latexer at gentoo.org
Mon Feb 5 12:42:50 EST 2007
On Mon, Feb 05, 2007 at 04:21:24PM +0000, Luciano _ wrote:
> I have two TreeViews, 1 button and 1 entry in a Window.
> I need to only move the focus (with tab key) only in between treeviews, and
> not to the entry and the button. The only way to get focus on button or
> entry is to use the mouse. The problem is, that if i set CanDefault to false
> in entry and button, it prevent to get the focus always, and i cannot never
> focus this objects.
> If cannot use FocusOut event beacause if i GrabFocus to the other TreeView
> it lost always the focus the first one selected and not the other objects.
> Is there any way of do this?
You can use the Gtk.Container.FocusChain property to override this. You
can see the gtk+ docs for this here:
<latexer at gentoo.org>
More information about the Gtk-sharp-list