<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><div>Thanks for your reply Mr. Simmons,</div><div><br></div><div>I had gone through the manual before writing the code. The problem is that I use a separate window to display the program, hence the program pops out. I need guidance in running the program in the default window of Sugar.</div><div><br></div><div><br></div><br><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br><div class="plainMail">Date: Thu, 17 Jun 2010 11:01:05 -0500<br>From: James Simmons &lt;<a ymailto="mailto:nicestep@gmail.com" href="/mc/compose?to=nicestep@gmail.com">nicestep@gmail.com</a>&gt;<br>Subject: Re: [Sugar-devel] Help Needed - Convert python code into<br>&nbsp;&nbsp;&nbsp; Sugar<br>To: <a ymailto="mailto:sugar-devel@lists.sugarlabs.org"
 href="/mc/compose?to=sugar-devel@lists.sugarlabs.org">sugar-devel@lists.sugarlabs.org</a><br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;<a ymailto="mailto:AANLkTilJsEfbOvcOkDVR0ch3AbhUXuuwa75ID6zv5-rO@mail.gmail.com" href="/mc/compose?to=AANLkTilJsEfbOvcOkDVR0ch3AbhUXuuwa75ID6zv5-rO@mail.gmail.com">AANLkTilJsEfbOvcOkDVR0ch3AbhUXuuwa75ID6zv5-rO@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=ISO-8859-1<br><br>John,<br><br>We have a manual which should help you figure out what you're doing wrong:<br><br><a href="http://en.flossmanuals.net/ActivitiesGuideSugar/Introduction" target="_blank">http://en.flossmanuals.net/ActivitiesGuideSugar/Introduction</a><br><br>James Simmons<br><br><br>&gt; Date: Thu, 17 Jun 2010 03:28:52 -0700 (PDT)<br>&gt; From: John Samuel &lt;<a ymailto="mailto:johnsamuel643@yahoo.com" href="/mc/compose?to=johnsamuel643@yahoo.com">johnsamuel643@yahoo.com</a>&gt;<br>&gt; Subject: [Sugar-devel] Help Needed - Convert python code
 into Sugar<br>&gt; To: Sugar Devel &lt;<a ymailto="mailto:sugar-devel@lists.sugarlabs.org" href="/mc/compose?to=sugar-devel@lists.sugarlabs.org">sugar-devel@lists.sugarlabs.org</a>&gt;<br>&gt; Message-ID: &lt;<a ymailto="mailto:350718.92048.qm@web45305.mail.sp1.yahoo.com" href="/mc/compose?to=350718.92048.qm@web45305.mail.sp1.yahoo.com">350718.92048.qm@web45305.mail.sp1.yahoo.com</a>&gt;<br>&gt; Content-Type: text/plain; charset="us-ascii"<br>&gt;<br>&gt; Hi, this is John Samuel here.I am new to Sugar. I've made a small program in python for the viewing of images.It runs perfectly as a standalone program, but when I convert it into Sugar, it runs in a different window coz of which it cannot be stopped.I have to close Xephyr and run it again.I use Sugar .88 on Ubuntu 9.10 KarmicCould anyone please help me?<br>&gt; I've attached my code along with this mail.<br>&gt;<br>&gt;<br>&gt; John Samuel<br><br><br></div></blockquote></td></tr></table><br>