[plt-scheme] make a button

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Nov 11 11:59:07 EST 2002

At Fri, 8 Nov 2002 12:02:18 +0100, "Roland-APPIETTO" wrote:
> I'd like to know, how can i make a Drscheme BUTTON like the Execute
> button (a bitmap and a label)??

The DrScheme button uses a bitmap. The text is combined with an image
byt drawing into an offscreen bitmap (i.e., a `draw-bitmap' followed by
a `draw-text').

To get the font for drawing the label, the best strategy is to use the
parent window's `get-control-font' method.


Posted on the users mailing list.