CLIM mail archive
Date: Tue, 25 Jun 91 14:37:00 CDT
From: David Neves <firstname.lastname@example.org>
In CLIM 1.0.
I would like to have bitmapped buttons.
Suppose I had some Lisp code to put up a bitmap. I would now like to have
CLIM know that this bitmap is on the screen so that I could define a
presentation-to-command translator. How can I do this?
In general, anything you can draw can be a presentation. Surround the
code which does the output with WITH-OUTPUT-AS-PRESENTATION.
(with-output-as-presentation (:stream window :object 'button :type 'my-button)
where RENDER-BUTTON actually does the drawing you want.
- From: Scott McKay <SWM@sapsucker.scrc.symbolics.com>
- From: David Neves <email@example.com>
Main Index |