[Gtk-sharp-list] Entry EditingDone Event

Luciano Callero lnc19@hotmail.com
Fri, 24 Oct 2003 14:11:55 -0300


Imagine that you have 2 Entry's that are one next to other. If you have the 
FocusIn event in the second and the focusOut (In the second Entry). And In 
the first you have the FocusOut, if you have some validations on the 
focusOut 1 (First Entry) the focus left, then gives you a message, and 
execute the focus In of the second Entry, but if you tell Return to previus 
(Depending on the question answered on the message display), You can't stop 
focus, it happen some BIG loop, and this is really dirty.

Maybe it is difficult to me to expain I think that is my non-skill for 
english.

>From: Mike Kestner <mkestner@speakeasy.net>
>To: Luciano Callero <lnc19@hotmail.com>
>CC: gtk-sharp-list@lists.ximian.com
>Subject: Re: [Gtk-sharp-list] Entry EditingDone Event
>Date: Fri, 24 Oct 2003 11:32:39 -0500
>MIME-Version: 1.0
>Received: from listsmx.ximian.com ([141.154.95.15]) by mc1-f12.hotmail.com 
>with Microsoft SMTPSVC(5.0.2195.6713); Fri, 24 Oct 2003 09:33:01 -0700
>Received: from headcheese.ximian.com (localhost [127.0.0.1])by 
>listsmx.ximian.com (Postfix) with ESMTPid D0CC71240FD; Fri, 24 Oct 2003 
>12:33:04 -0400 (EDT)
>Received: by listsmx.ximian.com (Postfix, from userid 38)id 6124F1240D0; 
>Fri, 24 Oct 2003 12:32:38 -0400 (EDT)
>Received: from mail.speakeasy.net (mail9.speakeasy.net [216.254.0.209])by 
>listsmx.ximian.com (Postfix) with ESMTP id 1BEB9124148for 
><gtk-sharp-list@lists.ximian.com>; Fri, 24 Oct 2003 12:32:07 -0400 (EDT)
>Received: (qmail 26380 invoked from network); 24 Oct 2003 16:32:06 -0000
>Received: from unknown (HELO alpha) (mkestner@[64.81.145.188])          
>(envelope-sender <mkestner@speakeasy.net>)          by mail9.speakeasy.net 
>(qmail-ldap-1.03) with SMTP          for <lnc19@hotmail.com>; 24 Oct 2003 
>16:32:06 -0000
>X-Message-Info: vAu4ZEtdRihTFcvkIgTTxc53z4s90KNZ
>In-Reply-To: <BAY2-F90FBROH4TKbmL00003f16@hotmail.com>
>References: <BAY2-F90FBROH4TKbmL00003f16@hotmail.com>
>Message-Id: <1067013158.3775.1680.camel@alpha>
>X-Mailer: Ximian Evolution 1.4.4 X-Spam-Status: No, hits=-29.2 
>required=5.0tests=EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES,REPLY_WITH_QUOTES, 
>      USER_AGENT_XIMIANversion=2.53
>X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53 
>(1.174.2.15-2003-03-30-exp)
>Sender: gtk-sharp-list-admin@lists.ximian.com
>Errors-To: gtk-sharp-list-admin@lists.ximian.com
>X-BeenThere: gtk-sharp-list@lists.ximian.com
>X-Mailman-Version: 2.0.13
>Precedence: bulk
>List-Help: <mailto:gtk-sharp-list-request@lists.ximian.com?subject=help>
>List-Post: <mailto:gtk-sharp-list@lists.ximian.com>
>List-Subscribe: 
><http://lists.ximian.com/mailman/listinfo/gtk-sharp-list>,<mailto:gtk-sharp-list-request@lists.ximian.com?subject=subscribe>
>List-Id: Discussion of the C# bindings for Gtk+ 
><gtk-sharp-list.lists.ximian.com>
>List-Unsubscribe: 
><http://lists.ximian.com/mailman/listinfo/gtk-sharp-list>,<mailto:gtk-sharp-list-request@lists.ximian.com?subject=unsubscribe>
>List-Archive: <http://lists.ximian.com/archives/public/gtk-sharp-list/>
>Return-Path: gtk-sharp-list-admin@lists.ximian.com
>X-OriginalArrivalTime: 24 Oct 2003 16:33:02.0828 (UTC) 
>FILETIME=[7E934AC0:01C39A4C]
>
>On Fri, 2003-10-24 at 10:38, Luciano Callero wrote:
> > Yes, this is the "Best" think that i think, but it is really dirty, and 
>i
> > dont like. It is not the EditingDone Event for this?
>
>Asking the same question repeatedly isn't necessarily the best way to
>get a new answer.
>
>But just so maybe you'll stop asking the question, I did the research
>and scanned the gtkentry.c source. It looks like editing-done is only
>emited on Enter, Up, Down, or Escape keypress.  It sounds like that's
>not what you want. If you want different behavior, you'll have to ask
>for it from the gtk+ folks.
>
>I don't think it's "really dirty" to use focus-out to update your data
>store.  That's probably the most reliable way to identify when your user
>is no longer working on that value, since you don't want to use Changed
>to do instantaneous updates.
>
>--
>Mike Kestner <mkestner@speakeasy.net>
>
>_______________________________________________
>Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.yupimsn.com/