Hello, <br><br>Most of the GUI is defined in the directories starting at <racket installation directory>/collects/mred. <br><br>I'm not sure what kind of extensions you're looking at doing, but the frame% class is defined in collects/mred/private/mrtop.rkt. <br>
<br>And you would extend (sub-class) this and the other GUI classes in the normal way, e.g.<br><br>(define my-frame%<br> (class frame%<br> (init [my-init-field <some default value>])<br> ; other definitions etc<br>
(super-new)<br> (define/public (new-method x y z) <br> ; my-method implementation<br> )<br> (define/override (old-method x y z)<br> ; override implementation<br> )<br> ; other definitions etc.<br>
))<br><br>(define f (new my-frame% [my-init-field <some value>] ... ))<br><br>(send f show #t)<br><br>Hope this helps,<br><br>Kieron.<br><br><div class="gmail_quote">On Fri, Sep 28, 2012 at 8:46 AM, <span dir="ltr"><<a href="mailto:heraklea@gmx.de" target="_blank">heraklea@gmx.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
where can I find the source to the gui modul. I would like to see how the gui framework is implemented.<br>
Is it possible to extend it with custom frames?<br>
<br>
Yours,<br>
____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</blockquote></div><br>