<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Sun May 19, 2013 4:11 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Sun May 19, 2013 4:11 pm</pubDate>
  <lastBuildDate>Sun May 19, 2013 4:11 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: IDLE and gtk windows</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=102247#102247</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=67745'&gt;LGLudd&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Oct 17, 2011 6:51 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Yes that works perfectly, thanks Nick.&lt;br /&gt;
&lt;br /&gt;
I was getting really frustrated by this.&lt;br /&gt;
&lt;br /&gt;
Leo</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=102247#102247</comments>
                                        <author>LGLudd</author>
                                        <pubDate>Mon Oct 17, 2011 6:51 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=102247#102247</guid>
                                      </item>
                                      <item>
                                        <title>Re: IDLE and gtk windows</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=102241#102241</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=4'&gt;evilnick&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Oct 17, 2011 4:56 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I think the 'problem' is with the way gtk works. If you want to run interactively with the shell, it's fine for almost all things. If you try to execute the code (the interactive listings anyhow) then the main gtk loop has to be invoked for some things to happen.&lt;br /&gt;
if you add&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;gtk.main&amp;#40;&amp;#41;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
to the end of the things that don't appear to work, do they work?</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=102241#102241</comments>
                                        <author>evilnick</author>
                                        <pubDate>Mon Oct 17, 2011 4:56 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=102241#102241</guid>
                                      </item>
                                      <item>
                                        <title>Re: IDLE and gtk windows</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=102237#102237</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=67745'&gt;LGLudd&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Oct 17, 2011 3:55 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      OK so I worked out part of what is happening but am not sure how to fix it.&lt;br /&gt;
&lt;br /&gt;
The window is being displayed but not shown on the screen I can get the window (but not the content) to display by using IDLEs shell window and typing &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;w.get_position&amp;#40;&amp;#41;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt; which tells me it is at 0,0.&lt;br /&gt;
&lt;br /&gt;
I can get the window to display by adding the get_position method call to the end of my script but this feels wrong and still does not diplay the content.&lt;br /&gt;
&lt;br /&gt;
What I do not understand is firstly why I do not see it initially and secondly how to fix it.&lt;br /&gt;
&lt;br /&gt;
Any ideas?&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
Leo</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=102237#102237</comments>
                                        <author>LGLudd</author>
                                        <pubDate>Mon Oct 17, 2011 3:55 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=102237#102237</guid>
                                      </item>
                                      <item>
                                        <title>IDLE and gtk windows</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=102187#102187</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=67745'&gt;LGLudd&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sat Oct 15, 2011 12:00 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I am attempting to follow the python tutorials but have a rather odd issue. all the code works if I run python from the command line but if I use IDLE then the only commands that appear to work are those that return their results to the IDLE shell. I cannot display any gtk windows (although no errors are returned) the music player will work (in so far as music starts playing as desired)&lt;br /&gt;
&lt;br /&gt;
I think that this may be either a setup or security problem (I am running Fedora 14) but cannot work out what the problem is&lt;br /&gt;
&lt;br /&gt;
Any assistance would be greatly appreciated.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
Leo</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=102187#102187</comments>
                                        <author>LGLudd</author>
                                        <pubDate>Sat Oct 15, 2011 12:00 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=102187#102187</guid>
                                      </item></channel></rss>