unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: PT <mailshield.gg@mailnull.com>
Subject: Cursor position in pixels
Date: Fri, 04 Mar 2005 19:18:01 +0100	[thread overview]
Message-ID: <opsm4k4bb0p52o26@home-ca12fabbc0> (raw)

I plan to implement emacs support for a language and want to display  
suggestions for the user in a pop up frame. For example, the user starts  
to type the name of a function and if he hesitates a small frame appears  
in the screen above the line the cursor is in showing possible completions.

In order to position the popup frame correctly I need to know the position  
of the cursor in pixels relative to the top/left corner of the current  
Emacs frame. I couldn't find anything like that in the documentation. Is  
it possible?

Of course, I can show the completions in an other window in the same frame  
(pop-to-buffer), but a small temporary popup frame above the cursor would  
be nicer.

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

             reply	other threads:[~2005-03-04 18:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-04 18:18 PT [this message]
2005-03-05 11:01 ` Cursor position in pixels Eli Zaretskii
     [not found] ` <mailman.2686.1110021568.32256.help-gnu-emacs@gnu.org>
2005-03-05 17:45   ` PT
2005-03-05 21:35 ` Stefan Monnier
2005-03-09 18:19   ` PT
2005-03-14 15:46 ` Eric Ludlam
2005-03-16 15:15   ` PT

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

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

  git send-email \
    --in-reply-to=opsm4k4bb0p52o26@home-ca12fabbc0 \
    --to=mailshield.gg@mailnull.com \
    /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).