<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using Menus in Tkinter</title>
	<atom:link href="http://www.learningpython.com/2006/03/27/using-menus-in-tkinter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learningpython.com/2006/03/27/using-menus-in-tkinter/</link>
	<description>one man's journey into python...</description>
	<lastBuildDate>Thu, 27 May 2010 10:43:57 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ciprian Pop</title>
		<link>http://www.learningpython.com/2006/03/27/using-menus-in-tkinter/comment-page-1/#comment-156186</link>
		<dc:creator>Ciprian Pop</dc:creator>
		<pubDate>Fri, 15 Jan 2010 20:32:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=22#comment-156186</guid>
		<description>Python 2.6.4, forgot to add.</description>
		<content:encoded><![CDATA[<p>Python 2.6.4, forgot to add.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ciprian Pop</title>
		<link>http://www.learningpython.com/2006/03/27/using-menus-in-tkinter/comment-page-1/#comment-156185</link>
		<dc:creator>Ciprian Pop</dc:creator>
		<pubDate>Fri, 15 Jan 2010 20:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=22#comment-156185</guid>
		<description>It worked perfectly.
Configuration:
Linux version 2.6.31.5-desktop-1mnb (herton@n2.mandriva.com) (gcc version 4.4.1 (GCC) ) #1 SMP Fri Oct 23 01:46:54 EDT 2009

One issue, though: 
the line

self.tkMenu = Menu(self.menu)

should be

self.tkMenu = Menu(self.menu,tearoff=0)</description>
		<content:encoded><![CDATA[<p>It worked perfectly.<br />
Configuration:<br />
Linux version 2.6.31.5-desktop-1mnb (herton@n2.mandriva.com) (gcc version 4.4.1 (GCC) ) #1 SMP Fri Oct 23 01:46:54 EDT 2009</p>
<p>One issue, though:<br />
the line</p>
<p>self.tkMenu = Menu(self.menu)</p>
<p>should be</p>
<p>self.tkMenu = Menu(self.menu,tearoff=0)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.learningpython.com/2006/03/27/using-menus-in-tkinter/comment-page-1/#comment-148602</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 17 Jul 2009 22:58:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=22#comment-148602</guid>
		<description>same problem as joel, on mac 10.4 using php 2.6.2 and the menu does not appear, copy and pasted several source code examples</description>
		<content:encoded><![CDATA[<p>same problem as joel, on mac 10.4 using php 2.6.2 and the menu does not appear, copy and pasted several source code examples</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Las Noyas de Taran</title>
		<link>http://www.learningpython.com/2006/03/27/using-menus-in-tkinter/comment-page-1/#comment-17084</link>
		<dc:creator>Las Noyas de Taran</dc:creator>
		<pubDate>Sat, 07 Apr 2007 20:24:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=22#comment-17084</guid>
		<description>[...] Actualmente estoy siguiendo el tutorial en castellano sobre pyGTK que se puede encontrar en su página web. Necesito aprender a manejarme bien con esto para el proyecto, y es el paso en el que estoy ahora. Aunque podría directamente ponerme con Glade o Gazpacho, que son dos diseñadores de interfaces gráficas, prefiero primero aprender a crearlas con código a pelo, porque luego necesitaré manejarlas y así adquiero soltura. Así que mientras sigo el manual, que es un señor libro, también miro tutoriales sobre el manejo de Glade y como conectar las interfaces que se generan a nuestro código. Quizás la mejor página que he encontrado sobre el tema sea Learning Python con una serie de tutoriales en el idioma anglosajón, así que me he decidido a traducir (libremente, lo mejor que pueda xD) los que considere más interesantes lo mejor que pueda, pues me obliga a fijarme bien línea a línea. El código lo dejaré tal cual, excepto los comentarios que los traduciré y que añado la codificación de caracteres para las tildes y la ñ, y usaré sus capturas de pantalla, aunque por supuesto probaré antes cada ejemplo. Además traduzco el texto completo, por lo que algunas cosas obviamente no se refieren a mi, como comentarios sobre he usado esto o me he decidido por esto otro. Así que ya os dejo con este primer artículo, titulado originalmente Creating a GUI using PyGTK and Glade, y escrito por Mark Mruss: Después de gastar algún tiempo creando una GUI usando TKinter y habiendo sido bastante fácil, pero frustrándome por como se enlaza mi código y la GUI, decidí probar a crear una GUI usando otro toolkit. Tras echar un vistazo a las diferentes opciones durante un rato me decidí por usar PyGTK y [...]</description>
		<content:encoded><![CDATA[<p>[...] Actualmente estoy siguiendo el tutorial en castellano sobre pyGTK que se puede encontrar en su página web. Necesito aprender a manejarme bien con esto para el proyecto, y es el paso en el que estoy ahora. Aunque podría directamente ponerme con Glade o Gazpacho, que son dos diseñadores de interfaces gráficas, prefiero primero aprender a crearlas con código a pelo, porque luego necesitaré manejarlas y así adquiero soltura. Así que mientras sigo el manual, que es un señor libro, también miro tutoriales sobre el manejo de Glade y como conectar las interfaces que se generan a nuestro código. Quizás la mejor página que he encontrado sobre el tema sea Learning Python con una serie de tutoriales en el idioma anglosajón, así que me he decidido a traducir (libremente, lo mejor que pueda xD) los que considere más interesantes lo mejor que pueda, pues me obliga a fijarme bien línea a línea. El código lo dejaré tal cual, excepto los comentarios que los traduciré y que añado la codificación de caracteres para las tildes y la ñ, y usaré sus capturas de pantalla, aunque por supuesto probaré antes cada ejemplo. Además traduzco el texto completo, por lo que algunas cosas obviamente no se refieren a mi, como comentarios sobre he usado esto o me he decidido por esto otro. Así que ya os dejo con este primer artículo, titulado originalmente Creating a GUI using PyGTK and Glade, y escrito por Mark Mruss: Después de gastar algún tiempo creando una GUI usando TKinter y habiendo sido bastante fácil, pero frustrándome por como se enlaza mi código y la GUI, decidí probar a crear una GUI usando otro toolkit. Tras echar un vistazo a las diferentes opciones durante un rato me decidí por usar PyGTK y [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: selsine</title>
		<link>http://www.learningpython.com/2006/03/27/using-menus-in-tkinter/comment-page-1/#comment-3251</link>
		<dc:creator>selsine</dc:creator>
		<pubDate>Tue, 10 Oct 2006 13:40:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=22#comment-3251</guid>
		<description>Hi Joel,

If you want to test what version of python you have installed on your system simply run &quot;python&quot; from the Terminal to launch the interactive editor.  You should get a message like this that shows your version:

&lt;code&gt;
Python 2.5 (r25:51918, Sep 19 2006, 08:49:13) 
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
&lt;/code&gt;
(ctrl+d to quit)

I&#039;ve tested the code with version 2.4.2 and 2.5 and both work properly on my Mac.  One thing to remember is that the menu&#039;s will not show up on the window, they will appear in the &quot;menu bar&quot; along the top of the screen where menu&#039;s appear on OS X.

Take a look at the screenshot in the tutorial and I think you&#039;ll see what I mean.</description>
		<content:encoded><![CDATA[<p>Hi Joel,</p>
<p>If you want to test what version of python you have installed on your system simply run &#8220;python&#8221; from the Terminal to launch the interactive editor.  You should get a message like this that shows your version:</p>
<p><code><br />
Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)<br />
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin<br />
Type "help", "copyright", "credits" or "license" for more information.<br />
</code><br />
(ctrl+d to quit)</p>
<p>I&#8217;ve tested the code with version 2.4.2 and 2.5 and both work properly on my Mac.  One thing to remember is that the menu&#8217;s will not show up on the window, they will appear in the &#8220;menu bar&#8221; along the top of the screen where menu&#8217;s appear on OS X.</p>
<p>Take a look at the screenshot in the tutorial and I think you&#8217;ll see what I mean.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel</title>
		<link>http://www.learningpython.com/2006/03/27/using-menus-in-tkinter/comment-page-1/#comment-3203</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Sun, 08 Oct 2006 13:50:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=22#comment-3203</guid>
		<description>Having trouble with menus -- specifically, I get a window, no menu.  I&#039;ve tried your example, pasting it in.  Tried several others too.  Same unsatisfactory result:  A window, but no menu.   

I&#039;m beginning to suspect that the current Python download is defective -- how else to explain same result with at least 4 independent &#039;text book examples&#039;.  I&#039;d tell you what versions I&#039;m using if I knew how to find it.  (Learning my way around OSX and Unix at the same time.  This is a Mac OSX10.4.7.  The Python is &#039;probably&#039; 2.4.


A previous program, with buttons, still runs

Thanks,  JL</description>
		<content:encoded><![CDATA[<p>Having trouble with menus &#8212; specifically, I get a window, no menu.  I&#8217;ve tried your example, pasting it in.  Tried several others too.  Same unsatisfactory result:  A window, but no menu.   </p>
<p>I&#8217;m beginning to suspect that the current Python download is defective &#8212; how else to explain same result with at least 4 independent &#8216;text book examples&#8217;.  I&#8217;d tell you what versions I&#8217;m using if I knew how to find it.  (Learning my way around OSX and Unix at the same time.  This is a Mac OSX10.4.7.  The Python is &#8216;probably&#8217; 2.4.</p>
<p>A previous program, with buttons, still runs</p>
<p>Thanks,  JL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: learning python &#187; Blog Archive &#187; RSS reader - Part Four - Integrating with the GUI</title>
		<link>http://www.learningpython.com/2006/03/27/using-menus-in-tkinter/comment-page-1/#comment-575</link>
		<dc:creator>learning python &#187; Blog Archive &#187; RSS reader - Part Four - Integrating with the GUI</dc:creator>
		<pubDate>Mon, 10 Jul 2006 01:54:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=22#comment-575</guid>
		<description>[...] So far our RSS reader has been completely command-line, which is functional but not as nice as we&#8217;d really like to have it. So what we are going to do is integrate the GUI that I created in my two Tkinter GUI tutorials into our RSS application. [...]</description>
		<content:encoded><![CDATA[<p>[...] So far our RSS reader has been completely command-line, which is functional but not as nice as we&#8217;d really like to have it. So what we are going to do is integrate the GUI that I created in my two Tkinter GUI tutorials into our RSS application. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: learning python &#187; Blog Archive &#187; Creating a GUI using PyGTK and Glade</title>
		<link>http://www.learningpython.com/2006/03/27/using-menus-in-tkinter/comment-page-1/#comment-64</link>
		<dc:creator>learning python &#187; Blog Archive &#187; Creating a GUI using PyGTK and Glade</dc:creator>
		<pubDate>Mon, 08 May 2006 02:48:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=22#comment-64</guid>
		<description>[...] After spending some time creating a GUI using TKinter and having it be pretty easy, but getting frustrated by how linked my code and the GUI was, I decided to look into creating a GUI using another toolkit. After looking around at the options for a while I settled on using PyGTK and Glade [...]</description>
		<content:encoded><![CDATA[<p>[...] After spending some time creating a GUI using TKinter and having it be pretty easy, but getting frustrated by how linked my code and the GUI was, I decided to look into creating a GUI using another toolkit. After looking around at the options for a while I settled on using PyGTK and Glade [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: learning python &#187; Blog Archive &#187; Using Menu&#8217;s in Tkinter</title>
		<link>http://www.learningpython.com/2006/03/27/using-menus-in-tkinter/comment-page-1/#comment-18</link>
		<dc:creator>learning python &#187; Blog Archive &#187; Using Menu&#8217;s in Tkinter</dc:creator>
		<pubDate>Tue, 28 Mar 2006 04:00:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningpython.com/?p=22#comment-18</guid>
		<description>[...] This is a quick post on how to use menu&#8217;s in Tkinter, if you are unfamiliar with Tkinter you might want to check out some of my other Tkinter related posts. [...]</description>
		<content:encoded><![CDATA[<p>[...] This is a quick post on how to use menu&#8217;s in Tkinter, if you are unfamiliar with Tkinter you might want to check out some of my other Tkinter related posts. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
