-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Johannes Hofmann wrote:
Cool! I like it already better than the dialog box. What do you mean by "on-blur" events? I like to be notified the moment the input box loses focus. For some reason the code works quite well as it is (a comment in the source code mentions this might be a fltk bug :-/), but it is possible to leave the location box without triggering the event handler. But relying on some undocumented and or buggy behavior is obviously not an option ;).
I'd expect something like inputbox->when(WHEN_ENTER_KEY | UNFOCUS) but I have no experience with fltk at all and a quick look into the callback section of their documentation didn't help either. Justus - -- gpg key fingerprint: C82D 382A AB38 1A54 5290 19D6 A0F9 B035 686C 6996 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFILei8oPmwNWhsaZYRAqidAJwMMweoNyvL+yMLbPXv6udUU7BiNQCgiSU3 VxfMpr6FsBJifzC/ecmqJ0o= =P3yn -----END PGP SIGNATURE-----