bbox

(#<widget> 'bbox index)
Returns a list of four elements describing the screen area of the character given by index.

The first two elements of the list give the x and y coordinates of the upper-left corner of the area occupied by the character, and the last two elements give the width and height of the area.

If the character is only partially visible on the screen, then the return value reflects just the visible part.

If the character is not visible on the screen then the return value is an empty list.


© Author | Home | Sitemap