This is the mail archive of the
guile-gtk@sources.redhat.com
mailing list for the Guile project.
Re: bug in focus management
- From: Marius Vollmer <mvo at zagadka dot de>
- To: alto_stan at wanadoo dot be
- Cc: guile-user <guile-user at gnu dot org>, guile-gtk <guile-gtk at sources dot redhat dot com>
- Date: 16 Feb 2003 18:57:30 +0100
- Subject: Re: bug in focus management
- References: <20030216164417.19e791d2.alto_stan@wanadoo.be>
Stan Pinte <alto_stan@wanadoo.be> 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