unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Stan Pinte <alto_stan@wanadoo.be>
Cc: guile-user@gnu.org
Subject: Re: bug in focus management
Date: Tue, 18 Feb 2003 09:42:18 +0100	[thread overview]
Message-ID: <20030218094218.2bd8dd36.alto_stan@wanadoo.be> (raw)
In-Reply-To: <87k7g0ds6t.fsf@zagadka.ping.de>


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 <mvo@zagadka.de> wrote:

> 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
> 





_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


  reply	other threads:[~2003-02-18  8:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-16 15:44 bug in focus management Stan Pinte
2003-02-16 17:57 ` Marius Vollmer
2003-02-18  8:42   ` Stan Pinte [this message]
2003-02-18 11:16     ` Marius Vollmer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030218094218.2bd8dd36.alto_stan@wanadoo.be \
    --to=alto_stan@wanadoo.be \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).