CLIM mail archive
[Prev][Next][Index][Thread]
bitmaps
    Date: Tue, 25 Jun 91 14:37:00 CDT
    From: David Neves <neves@ils.nwu.edu>
    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)
    (render-button window))
where RENDER-BUTTON actually does the drawing you want.
0,,
Follow-Ups:
- bitmaps
- From: Scott McKay <SWM@sapsucker.scrc.symbolics.com> 
References:
- bitmaps
- From: David Neves <neves@ils.nwu.edu> 
Main Index |
Thread Index