I'm not entirely sure what you mean but, just in case, you can indeed
export created GUI widgets:
file gui1.rkt :
```
#lang racket/gui

(provide fr msg)

(define fr (new frame% [label "Hear me out"]))
(define msg (new message% [parent fr] [label "I have an important
message"]))

```
file gui2.rkt :
```
#lang racket/gui
(require "gui1.rkt")

(send fr show #t)
```


On Thu, Jun 24, 2021 at 10:41 PM Don Green <[email protected]>
wrote:

> Can I break my racket/gui program be broken down into multiple modules?
> I am able to require modules through the callback function but not the GUI
> definitions themselves.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/ee435195-1c19-41ad-9f47-d37f30c63fdbn%40googlegroups.com
> <https://groups.google.com/d/msgid/racket-users/ee435195-1c19-41ad-9f47-d37f30c63fdbn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CABNTSaH%2BM4pts-96fD-fhGVgqZj2Xu2QVDyw1-h_9XucA1xmwg%40mail.gmail.com.

Reply via email to