next up previous contents index
Next: Window manager functions Up: LTK - a Lisp Previous: Toplevel   Contents   Index

Screen functions

(screen-width (&optional (w nil)))

Give the width of the screen in pixels (if w is given, of the screen the widget w is displayed on)

(screen-height (&optional (w nil)))

Give the height of the screen in pixels (if w is given, of the screen the widget w is displayed on).

(screen-width-mm (&optional (w nil)))

Give the width of the screen in mm (if w is given, of the screen the widget w is displayed on)

(screen-heigth-mm (&optional (w nil)))

Give the height of the screen in mm (if w is given, of the screen the widget w is displayed on)

(screen-mouse-x (&optional (w nil)))

Give x position of the mouse on screen (if w is given, of the screen the widget w is displayed on)

(screen-mouse-y (&optional (w nil)))

Give y position of the mouse on screen (if w is given, of the screen the widget w is displayed on)

(screen-mouse (&optional (w nil)))

Give the position of the mouse on screen as (values x y) (if w is given, of the screen the widget w is displayed on)

(window-width (tl))

Give the width of the widget in pixels. This function can be called on widgets as well as toplevel windows.

(window-height (tl))

Give the height of the widget in pixels. This function can be called on widgets as well as toplevel windows.

(window-x (tl))

Give the x position of the widget in pixels.

(window-y (tl))

Give the y position of the widget in pixels.


next up previous contents index
Next: Window manager functions Up: LTK - a Lisp Previous: Toplevel   Contents   Index
Peter Herth 2006-01-29