From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/elisp/geometry.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 devdocs/elisp/geometry.html (limited to 'devdocs/elisp/geometry.html') diff --git a/devdocs/elisp/geometry.html b/devdocs/elisp/geometry.html new file mode 100644 index 00000000..cc5e64eb --- /dev/null +++ b/devdocs/elisp/geometry.html @@ -0,0 +1,13 @@ +

Geometry

Here’s how to examine the data in an X-style window geometry specification:

Function: x-parse-geometry geom +
+

The function x-parse-geometry converts a standard X window geometry string to an alist that you can use as part of the argument to make-frame.

The alist describes which parameters were specified in geom, and gives the values specified for them. Each element looks like (parameter . value). The possible parameter values are left, top, width, and height.

For the size parameters, the value must be an integer. The position parameter names left and top are not totally accurate, because some values indicate the position of the right or bottom edges instead. The value possibilities for the position parameters are: an integer, a list (+ pos), or a list (- pos); as previously described (see Position Parameters).

Here is an example:

(x-parse-geometry "35x70+0-0")
+     ⇒ ((height . 70) (width . 35)
+         (top - 0) (left . 0))
+
+
+
+

+ Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
+ https://www.gnu.org/software/emacs/manual/html_node/elisp/Geometry.html +

+
-- cgit v1.2.3