guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in focus management


From: Stan Pinte
Subject: Re: bug in focus management
Date: Tue, 18 Feb 2003 09:42:18 +0100

indeed, calling 'has_focus after the "focus-in-event" does the trick!!!!

thanks a lot,

Stan.

It is weird, though, because the property is documented as "has-focus" in the 
Gtk docs...

Is this normal? Is there a rule to guess the right form?

Stan.

On 16 Feb 2003 18:57:30 +0100
Marius Vollmer <address@hidden> wrote:

> Stan Pinte <address@hidden> 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
> 







reply via email to

[Prev in Thread] Current Thread [Next in Thread]