Dear Matthias,
Thank you very much and apologies. It works fine now. While going
over your example, I noticed a typo in my code, I should have coded
(require "get-devanagari-page1.rkt") instead of (require
"get-devanagari-page.rkt") which was an older version where I didn't
enclose the GUI cr
Apologies Danny,
I should have removed the line
"(require "imagemagick_interface.rkt")"
It has nothing to do with the GUI and is only used later on.
Harry
On Fri, Apr 20, 2012 at 5:13 PM, Danny Yoo wrote:
> Hi Harry,
>
> I'm a little confused, and need a little bit more information.
>
> I'm assum
Hi Harry,
I'm a little confused, and need a little bit more information.
I'm assuming that the first file in your message is
'imagemagick_interface.rkt'. Is it the file that constructs the GUI,
and provides the function 'get-devanagari-page'?
When you show the content of another file called 'ge
This works fine for me:
#lang racket/load
(module a racket/gui
(provide get-devanagari-page)
(define (get-devanagari-page)
(define main-ocr-frame (new frame%
[label "DEVANAGARI OCR"]
[width 1]
Dear list members,
Perhaps someone could explain this "module,require and provide" behaviour.
I've created a Racket module that provides a procedure that creates a
simple GUI dialog to return a file path and another module that uses
the procedure.
The module to create the GUI is:
#lang racket/
5 matches
Mail list logo