I can't give you a full answer, but maybe this piece of code can get be of some help:<br><br>#lang racket/gui<br><br>(define f <br> (new frame% [label ""]<br> [style '(no-resize-border <br>
no-caption<br> no-system-menu hide-menu-bar)]<br> ))<br><br>(define cv (new canvas% [parent f]<br> [min-width 200]<br> [min-height 200]))<br>
<br>(send f maximize #t) ; does not work everywhere<br>(send f show #t)<br><br>It creates a frame with no border, only a canvas inside it.<br>Draw whatever you like in the canvas by getting the dc% instance.<br>It is not perfect though, as some window managers put some shade on the frames.<br>
You could maximize the window, but then the user would lose its control over other windows...<br><br>HTH,<br>Laurent<br><br><br><div class="gmail_quote">On Fri, Jul 23, 2010 at 17:41, Mathew Kurian <span dir="ltr"><<a href="mailto:bluejamesbond@gmail.com">bluejamesbond@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;"><div>
I apologize for asking so many questions. I'll take a break after this.</div><div><br></div><div>
Well, as you probably noticed, I am very interested in the GUI part of every language, including that of scheme.</div><div><br></div><div>Anyways, my question is"'Is there anyway you can make a Scheme Frame transparent (inside the frame itself where panels would go)?" I am trying to port a game of monopoly in Java to Scheme...just to see how it turns out.</div>
<div><br></div><div>I don't know if scheme already does this with some extra addons. But, one idea which I was thinking was if you could make scheme take a screenshot of the background of the desktop (that is behind the frame) and then place that image in a certain position inside a panel inside the frame. So thus emulating transparency. And make a handler which would, as you move would refresh that image and/or move the image location inside the frame. Furthermore, just refresh the inside image in the standard 1/30 of second. (much like ideaology behind java Robot)</div>
<div><br></div><div>It would be very useful if you could show me a piece of code that can do frame-transparency for scheme?</div><div><br></div><div>(I first sent this to Shriram directly, he said that the reply would be faster if i post it here, so i pasted a part of the email)</div>
</span>
<br>_________________________________________________<br>
For list-related administrative tasks:<br>
<a href="http://lists.racket-lang.org/listinfo/users" target="_blank">http://lists.racket-lang.org/listinfo/users</a><br></blockquote></div><br>