[plt-scheme] MrEd: container-size with border style

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Dec 5 12:17:21 EST 2002

At Thu, 5 Dec 2002 12:11:37 -0500 (EST), Doug Orleans wrote:
> How do I figure out what the size of the border is?  (The border
> method seems to be independent of the 'border style.)  How can I even
> tell if a panel% has a border (other than intercepting the style
> instantiation argument)?

The `get-client-size' method provides the size of the panel's interior
(i.e., inside the border), while `get-size' provides the size of the
exterior.

Matthew



Posted on the users mailing list.