From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.user Subject: Re: bug in focus management Date: 16 Feb 2003 18:57:30 +0100 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <87k7g0ds6t.fsf@zagadka.ping.de> References: <20030216164417.19e791d2.alto_stan@wanadoo.be> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045418241 4916 80.91.224.249 (16 Feb 2003 17:57:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 16 Feb 2003 17:57:21 +0000 (UTC) Cc: guile-user Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18kT2W-0001H9-00 for ; Sun, 16 Feb 2003 18:57:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18kT3y-0001nV-01 for guile-user@m.gmane.org; Sun, 16 Feb 2003 12:58:50 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18kT33-0001KI-00 for guile-user@gnu.org; Sun, 16 Feb 2003 12:57:53 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18kT2s-0000dF-00 for guile-user@gnu.org; Sun, 16 Feb 2003 12:57:46 -0500 Original-Received: from mail.dokom.net ([195.253.8.218]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18kT2k-0000CP-00 for guile-user@gnu.org; Sun, 16 Feb 2003 12:57:34 -0500 Original-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-0007GN-00 for guile-user@gnu.org; Sun, 16 Feb 2003 18:57:39 +0100 Original-Received: (qmail 5924 invoked by uid 1000); 16 Feb 2003 17:57:30 -0000 Original-To: alto_stan@wanadoo.be In-Reply-To: <20030216164417.19e791d2.alto_stan@wanadoo.be> Original-Lines: 13 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-cc: guile-gtk X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: General Guile related discussions List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:1661 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1661 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 _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user