[Gtk-sharp-list] Prevent focus in panels.

Luciano _ lnc19 at hotmail.com
Tue Feb 6 07:07:50 EST 2007

You were right!! I set the FocusChain from the container and it work.


>From: Peter Johanson <latexer at gentoo.org>
>To: gtk-sharp-list at lists.ximian.com
>Subject: Re: [Gtk-sharp-list] Prevent focus in panels.
>Date: Mon, 5 Feb 2007 15:15:02 -0800
>MIME-Version: 1.0
>Received: from lists.ximian.com ([]) by 
>bay0-mc11-f10.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Mon, 
>5 Feb 2007 15:15:11 -0800
>Received: from galactus.ximian.com (localhost.localdomain [])by 
>lists.ximian.com (Postfix) with ESMTP id 634DB1CFD32;Mon,  5 Feb 2007 
>19:41:18 -0500 (EST)
>Received: from herald.ximian.com (frontgate.ximian.com [])by 
>lists.ximian.com (Postfix) with ESMTP id 4FE501CFB30for 
><gtk-sharp-list at lists.ximian.com>;Mon,  5 Feb 2007 19:41:17 -0500 (EST)
>Received: by herald.ximian.com (Postfix, from userid 2601)id C4B4270043; 
>Mon,  5 Feb 2007 18:15:08 -0500 (EST)
>Received: from mail.cubesearch.com (unknown [])by 
>herald.ximian.com (Postfix) with ESMTP id C6DEF70047for 
><gtk-sharp-list at lists.ximian.com>;Mon,  5 Feb 2007 18:15:04 -0500 (EST)
>Received: by mail.cubesearch.com (Postfix, from userid 522)id 070F9B5A8B; 
>Mon,  5 Feb 2007 15:15:02 -0800 (PST)
>X-Message-Info: LsUYwwHHNt1l8qDQCDA25R50ZwrzMdJKUzcaMnRLHt0=
>X-Original-To: gtk-sharp-list at lists.ximian.com
>Delivered-To: gtk-sharp-list at lists.ximian.com
>Mail-Followup-To: gtk-sharp-list at lists.ximian.com
><20070205174250.GE8395 at butchest.cubesearch.com><BAY104-F2908F250348A1AEFEA5549A6980 at phx.gbl>
>User-Agent: Mutt/1.5.13 (2006-08-11)
>X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on 
>X-Spam-Level: *
>X-Spam-Status: No, score=2.0 required=5.0 
>tests=FORGED_RCVD_HELO,SPF_HELO_PASS version=3.0.3
>X-BeenThere: gtk-sharp-list at lists.ximian.com
>X-Mailman-Version: 2.1.8
>Precedence: list
>List-Id: "Discussion of the .Net bindings for 
><http://lists.ximian.com/mailman/listinfo/gtk-sharp-list>,<mailto:gtk-sharp-list-request at lists.ximian.com?subject=unsubscribe>
>List-Archive: <http://lists.ximian.com/pipermail/gtk-sharp-list>
>List-Post: <mailto:gtk-sharp-list at lists.ximian.com>
>List-Help: <mailto:gtk-sharp-list-request at lists.ximian.com?subject=help>
><http://lists.ximian.com/mailman/listinfo/gtk-sharp-list>,<mailto:gtk-sharp-list-request at lists.ximian.com?subject=subscribe>
>Errors-To: gtk-sharp-list-bounces at lists.ximian.com
>Return-Path: gtk-sharp-list-bounces at lists.ximian.com
>X-OriginalArrivalTime: 05 Feb 2007 23:15:11.0934 (UTC) 
>On Mon, Feb 05, 2007 at 11:02:46PM +0000, Luciano _ wrote:
> > I cannot make it work: I use
> >
> > Widget[] FocusWidget = new Widget[2];
> > Focused[0] = FirstTreeView;
> > Focused[1] = SecondTreeView;
> > MyWindow.FocusChain = FocusWidget;
> >
> > Is this the correct way?
>Just a guess, but probably the problem is you're setting the FocusChain
>property on the window, instead of the actual container that holds
>those two widgets.  I'd fiddle with setting the FocusChain property on
>different containers in the hierarchy.
>Peter Johanson
><latexer at gentoo.org>
>Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com

De todo para la Mujer Latina http://latino.msn.com/mujer/

More information about the Gtk-sharp-list mailing list