[racket] image on frame

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Apr 16 12:07:24 EDT 2013

At Tue, 16 Apr 2013 19:44:04 +0530, deepak verma wrote:
> how can we show a image on frame ?

(require racket/gui/base
         racket/class)

(define (show-image i)
  (define f (new frame% [label "Image"]))
  (new message% [parent f] [label i])
  (send f show #t))


Posted on the users mailing list.