Re: Position interface/dialog

"Alexey Veretennikov (as alexey dot veretennikov at protonmail dot com)" <[email protected]>
Newsgroups gmane.lisp.lispworks.general
Message-ID <yk06aIbICs2Xe-e9GKDtV67_9Kty-tEnJEYk0v_aojekjqHg9tvVe_XhMdfGPUgAeAUWk852zzSlCLAP-mlzay1XARjbwoiPK1UMoQ5baMo=@protonmail.com>
Yes, that was my thinking. For this you would have know the interface size in advance.

BR,
/Alexey


On Monday, April 14th, 2025 at 21:22, Erik Ronström (as erik dot ronstrom at doremir dot com) <[email protected]> wrote:

> What about the :best-x / :best-y initargs?
> 
> Erik
> 
> 
> > 14 apr. 2025 kl. 20:18 skrev Alexey Veretennikov (as alexey dot veretennikov at protonmail dot com) [email protected]:
> > 
> > Hi,
> > 
> > Is there a way to setup position of the interface (which could be displayed as a dialog or as normal interface) on a screen? I tried create-callback and top-level-interface-geometry returs 0 0 for its size, and set-top-level-interface-geometry does nothing. I need to calculate the interface height/width and position it in the center of the screen.
> > 
> > BR,
> > /Alexey
> 
> 
> 
> _______________________________________________
> Lisp Hug - the mailing list for LispWorks users
> [email protected]
> http://www.lispworks.com/support/lisp-hug.html

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
[email protected]
http://www.lispworks.com/support/lisp-hug.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.