unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how to change tooltip text
@ 2006-07-28  1:21 Ye Wenbin
  0 siblings, 0 replies; only message in thread
From: Ye Wenbin @ 2006-07-28  1:21 UTC (permalink / raw)



hello, I wrote a elisp which need a feature like x-show-tip.
but I need to change the the text when user is typing.
x-show-tip seems too slow.
I test like this:

(add-hook 'after-change-functions
           (lambda (&rest arg)
             (and (current-word) (x-show-tip (current-word))))
           nil t)

When typing quickly, you can see the tip frame can't follow and
the input character maybe not show in the screen.

Is there a way to reuse the tip frame but change the text? Or is
there other way to implement this feature?

Thanks for advance!

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-28  1:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-28  1:21 how to change tooltip text Ye Wenbin

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