[plt-scheme] make a button

From: Nicolas Chevallier (nicolas-chevallier at wanadoo.fr)
Date: Thu Dec 12 14:09:54 EST 2002

I search the file where the DrScheme bitmap button are created, but i can't
find it.
Can you help me?


Nicolas

> ----- Original Message -----
> From: "Matthew Flatt" <mflatt at cs.utah.edu>
> To: "Roland-APPIETTO" <Roland-APPIETTO at wanadoo.fr>
> Cc: <plt-scheme at list.cs.brown.edu>
> Sent: Monday, November 11, 2002 5:59 PM
> Subject: Re: [plt-scheme] make a button
>
>
> >   For list-related administrative tasks:
> >   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> >
> > 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.
> >
> > Matthew
> >
>



Posted on the users mailing list.