help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Cursor position in pixels


From: Eli Zaretskii
Subject: Re: Cursor position in pixels
Date: Sat, 05 Mar 2005 13:01:39 +0200

> From: PT <mailshield.gg@mailnull.com>
> Date: Fri, 04 Mar 2005 19:18:01 +0100
> 
> 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?

Do the functions frame-char-width and frame-char-height help you do
what you want?




reply via email to

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