emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs 21 font issues and manual window manipulation.


From: Kevin A. Burton
Subject: Re: Emacs 21 font issues and manual window manipulation.
Date: 22 Oct 2001 01:22:56 -0700
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

address@hidden (Kai Großjohann) writes:

> address@hidden (Kevin A. Burton) writes:
> 
> > Yes... but where do I get the integer value for left and top?
> > 
> > This is how I am currently trying to set the tooltip but I have no
> > reliable way to get these values.
> 
> It seems that you want to pop up the tooltip near the mouse pointer;

... no... next to the point.  Most of the time the mouse will be tool far away.

> but x-show-tip provides arguments DX and DY which are relative to the mouse
> pointer position.  So it seems you don't need the `left' and `top' parameters.
> 
> But maybe I've misunderstood the whole issue.  Or maybe DX and DY are new in
> 21.1.50?

Run the folowing code in Emacs 21.1.1 to see what I mean.

(x-show-tip "Hello World" nil '((top .  10) (left .  10)))

Now imagine that top and left were adjusted so that this was right under the
(point).

This allows you to override the coords of the mouse and do manual positioning.

What I want to do is put the tooltip right next to the (point) so that it helps
me code better.  This is a feature I have *really* missed since my Emacs
migration :)

Kevin

- -- 

   Need a good Engineer?  Hire me!  ( Java | P2P | XML | Linux | Open Source )

Kevin A. Burton address@hidden, address@hidden, address@hidden )
  Location: San Francisco, CA Cell: 415-595-9965 URL: http://relativity.yi.org 

If you play with fire, you might get burned.  If you eliminate fire, you will
never feel it's warmth and never enjoy it's illumination.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE709dVAwM6xb2dfE0RAl1XAJ9RzAoS+Y4qItVSuuFyzHQmdJU1qgCdEqNA
3nOO74BJYRXCAAuCohjDeyc=
=7wgx
-----END PGP SIGNATURE-----



reply via email to

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