This is the mail archive of the guile-gtk@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bug in focus management


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]