Function: frame-pixel-width

Return FRAME's width in pixels.
For a terminal frame, the result really gives the width in characters.
If FRAME is omitted, the selected frame is used.

(fn &optional FRAME)