From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9624 invoked by alias); 16 Feb 2003 17:57:36 -0000 Mailing-List: contact guile-gtk-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: guile-gtk-owner@sources.redhat.com Received: (qmail 9615 invoked from network); 16 Feb 2003 17:57:34 -0000 Received: from unknown (HELO mail.dokom.net) (195.253.8.218) by 172.16.49.205 with SMTP; 16 Feb 2003 17:57:34 -0000 Received: from dialin.speedway43.dip32.dokom.de ([195.138.43.32] helo=zagadka.ping.de) by mail.dokom.net with smtp (Exim 3.36 #3) id 18kT2p-0007GM-00 for guile-gtk@sources.redhat.com; Sun, 16 Feb 2003 18:57:40 +0100 Received: (qmail 5924 invoked by uid 1000); 16 Feb 2003 17:57:30 -0000 To: alto_stan@wanadoo.be Cc: guile-user , guile-gtk Subject: Re: bug in focus management References: <20030216164417.19e791d2.alto_stan@wanadoo.be> From: Marius Vollmer Date: Sun, 16 Feb 2003 17:57:00 -0000 In-Reply-To: <20030216164417.19e791d2.alto_stan@wanadoo.be> Message-ID: <87k7g0ds6t.fsf@zagadka.ping.de> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-q1/txt/msg00011.txt.bz2 Stan Pinte writes: > Indeed, when a widget has the focus, a call to (gtk-widget-get ref-entry 'has-focus) returns #f. > > Any idea? Try 'has_focus instead of 'has-focus. Also, the focus flag seems to be set only after the "focus-in-event" handler has returned. Try printing the focus flag from the "insert-text" handler to observe this. -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405