bbox

(#<widget> 'bbox tagOrId ?tagOrId tagOrId ...?)
Returns a list with four elements giving an approximate bounding box for all the items named by the tagOrId arguments.

The list has the form "x1 y1 x2 y2" such that the drawn areas of all the named elements are within the region bounded by x1 on the left, x2 on the right, y1 on the top, and y2 on the bottom.

The return value may overestimate the actual bounding box by a few pixels.

If no items match any of the tagOrId arguments or if the matching items have empty bounding boxes (i.e. they have nothing to display) then an empty string is returned.


© Author | Home | Sitemap