From rikudou__sennin at outlook.com Tue Oct 17 18:27:12 2017 From: rikudou__sennin at outlook.com (adil gourinda) Date: Tue, 17 Oct 2017 22:27:12 +0000 Subject: [Tkinter-discuss] Documentation Message-ID: Hy Tkinter is the standard GUI for Python but there is no standard documentation (if possible in PDF form) even the one included in "python library" is not complete, and after looking outside I found this link "http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/index.html" but I am not sure if it is an official resource and even if it is true their email is not reacting to any suggestion. Thanks for your attention -------------- next part -------------- An HTML attachment was scrubbed... URL: From rikudou__sennin at live.com Wed Oct 18 04:41:12 2017 From: rikudou__sennin at live.com (adil gourinda) Date: Wed, 18 Oct 2017 08:41:12 +0000 Subject: [Tkinter-discuss] Documentation Message-ID: Tkinter is the standart GUI for Python but there is no standart documentation (if possible in PDF forme) even the one included in "python library documentation" is not complete, I know only this link "http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/index.html" but I am not sure if it is an officiel resource and even if it is true their email is not reacting to any suggestion -------------- next part -------------- An HTML attachment was scrubbed... URL: From bryan.oakley at gmail.com Wed Oct 18 13:29:21 2017 From: bryan.oakley at gmail.com (Bryan Oakley) Date: Wed, 18 Oct 2017 12:29:21 -0500 Subject: [Tkinter-discuss] Documentation In-Reply-To: References: Message-ID: No, that link does not point to an official resource. It is one of several independent sets of documentation. Unfortunately, the strategy for official documentation seems to be "use the tcl/tk documentation, and here's how to apply that to tkinter". The official, canonical tk.documentation (upon which tkinter is built) is here: http://tcl.tk/man/tcl8.5/TkCmd/contents.htm Other good resources include: - The official documentation - https://docs.python.org/3/library/tkinter.html - TkDocs - http://www.tkdocs.com/ - this provides broad coverage of tk with examples in multiple languages, including python. - Effbot - http://effbot.org/tkinterbook/ - a relatively complete overview of tkinter, with a few bits of missing information here and there. On Tue, Oct 17, 2017 at 5:27 PM, adil gourinda wrote: > Hy > Tkinter is the standard GUI for Python but there is no standard > documentation (if possible in PDF form) even the one included in "python > library" is not complete, and after looking outside I found this link " > http:// > infohost.nmt.edu > / > tcc > /help/pubs/ > tkinter > /web/ > index.html > " but I am > not sure if it is an official resource and even if it is true their email > is not reacting to any suggestion. > > Thanks for your attention > > _______________________________________________ > Tkinter-discuss mailing list > Tkinter-discuss at python.org > https://mail.python.org/mailman/listinfo/tkinter-discuss > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rikudou__sennin at live.com Sun Oct 22 17:11:48 2017 From: rikudou__sennin at live.com (adil gourinda) Date: Sun, 22 Oct 2017 21:11:48 +0000 Subject: [Tkinter-discuss] tcl/tk's syntax to python's syntax Message-ID: With the aim to make translation of tcl/tk's syntax to python's syntax more easy I made this flowchart and I ask you to check it. Thanks for your help? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ttk tcl to ttk python.pdf Type: application/pdf Size: 23576 bytes Desc: ttk tcl to ttk python.pdf URL: From klappnase at web.de Mon Oct 23 05:27:19 2017 From: klappnase at web.de (Michael Lange) Date: Mon, 23 Oct 2017 11:27:19 +0200 Subject: [Tkinter-discuss] tcl/tk's syntax to python's syntax In-Reply-To: References: Message-ID: <20171023112719.b88546be956edfcf3656afc6@web.de> Hi, On Sun, 22 Oct 2017 21:11:48 +0000 adil gourinda wrote: > With the aim to make translation of tcl/tk's syntax to python's syntax > more easy I made this flowchart and I ask you to check it. > > Thanks for your help? I think the translation of the Tk pathName is problematic. One thing that might come closer could be ".parentWidget.childWidget" -> "Instance" ".parentWidget" -> "parentWidget" But strictly speaking I think this is not correct either. If the Tk root window is the parent, parentWidget is only "." . If a Frame ".f" is the parent, parent widget *is* ".f" in Tk,and a Button widget "b" that is a child of ".f" in Tk *is* ".f.b". Of course considering this the chart might look a bit pointless, like "parentWidget" -> "parentWidget" Actually the widgets' names (as "b" and "f" in the above example) go to the widget's "name" option in Python, which is hardly ever used though (in Tkinter we usually let Python assign the widget names automatically which leads to something that looks like ".1234567890.1234567891" instead of ".f.b"). I hope this makes some sense, and maybe one of the Tk experts here can provide a better explanation. Best regards Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. It [being a Vulcan] means to adopt a philosophy, a way of life which is logical and beneficial. We cannot disregard that philosophy merely for personal gain, no matter how important that gain might be. -- Spock, "Journey to Babel", stardate 3842.4 From rl.ward at bigpond.com Mon Oct 23 05:43:15 2017 From: rl.ward at bigpond.com (Rob Ward) Date: Mon, 23 Oct 2017 20:43:15 +1100 Subject: [Tkinter-discuss] tcl/tk's syntax to python's syntax In-Reply-To: <20171023112719.b88546be956edfcf3656afc6@web.de> References: <20171023112719.b88546be956edfcf3656afc6@web.de> Message-ID: <0BF11F72-2CE8-40FD-A000-87A8D4646609@bigpond.com> Interesting, I think. On 23 October 2017 8:27:19 pm AEDT, Michael Lange wrote: >Hi, > >On Sun, 22 Oct 2017 21:11:48 +0000 >adil gourinda wrote: > >> With the aim to make translation of tcl/tk's syntax to python's >syntax >> more easy I made this flowchart and I ask you to check it. >> >> Thanks for your help? > >I think the translation of the Tk pathName is problematic. One thing >that >might come closer could be > > ".parentWidget.childWidget" -> "Instance" > ".parentWidget" -> "parentWidget" > >But strictly speaking I think this is not correct either. If the Tk >root >window is the parent, parentWidget is only "." . If a Frame ".f" is the >parent, parent widget *is* ".f" in Tk,and a Button widget "b" that is a >child of ".f" in Tk *is* ".f.b". Of course considering this the chart >might look a bit pointless, like > > "parentWidget" -> "parentWidget" > >Actually the widgets' names (as "b" and "f" in the above example) go to >the widget's "name" option in Python, which is hardly ever used though >(in Tkinter we usually let Python assign the widget names automatically >which leads to something that looks like ".1234567890.1234567891" >instead >of ".f.b"). > >I hope this makes some sense, and maybe one of the Tk experts here can >provide a better explanation. > >Best regards > >Michael > > >.-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . >.-. > >It [being a Vulcan] means to adopt a philosophy, a way of life which is >logical and beneficial. We cannot disregard that philosophy merely for >personal gain, no matter how important that gain might be. > -- Spock, "Journey to Babel", stardate 3842.4 >_______________________________________________ >Tkinter-discuss mailing list >Tkinter-discuss at python.org >https://mail.python.org/mailman/listinfo/tkinter-discuss -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Vasilis.Vlachoudis at cern.ch Mon Oct 23 08:07:20 2017 From: Vasilis.Vlachoudis at cern.ch (Vasilis Vlachoudis) Date: Mon, 23 Oct 2017 12:07:20 +0000 Subject: [Tkinter-discuss] Convert Canvas to bitmap image Message-ID: <0BC70B5D93E054469872FFD0FE07220E01CFF9DFCE@CERNXCHG53.cern.ch> Dear all, what can be the most efficiency way of converting the canvas to a bitmap (what ever type, gif png, jpg...) image? Right now we are saving to postscript and then using the PIL library convert it to bitmap. Thanks in advance Vasilis -------------- next part -------------- An HTML attachment was scrubbed... URL: From klappnase at web.de Mon Oct 23 12:53:24 2017 From: klappnase at web.de (Michael Lange) Date: Mon, 23 Oct 2017 18:53:24 +0200 Subject: [Tkinter-discuss] Convert Canvas to bitmap image In-Reply-To: <0BC70B5D93E054469872FFD0FE07220E01CFF9DFCE@CERNXCHG53.cern.ch> References: <0BC70B5D93E054469872FFD0FE07220E01CFF9DFCE@CERNXCHG53.cern.ch> Message-ID: <20171023185324.3956c2c9939205deb52e701b@web.de> Hi, On Mon, 23 Oct 2017 12:07:20 +0000 Vasilis Vlachoudis wrote: > Dear all, > > what can be the most efficiency way of converting the canvas to a > bitmap (what ever type, gif png, jpg...) image? Right now we are saving > to postscript and then using the PIL library convert it to bitmap. you can use the tkImg library to do that. tkImg's "window" image type allows you to create "screenshots" of Tk widgets on the fly. To load the "window" image type, do: somewidget.tk.call('package', 'require', 'img::window') Or to load all available image formats: somewidget.tk.call('package', 'require', 'Img') Then you should be able to load the canvas as image and export the image to a gif or png file (or any other format your tkImg install supports) with something like: img = Tkinter.PhotoImage(format='window', data=canvas._w) img.write('canvas.png', format='png') del img tkImg can be a bit tricky though. I have had problem with the window image type when using Tkinter's default widget names. From my experience it seems a good idea to create the widget in question and all its ancestors with the widget name explicitely set, as in f0 = Frame(parent, name='f0') Loading all image types at once also often causes problems (resp. crashes), so I recommend to explicitely only load the image types you really need. Best regards Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. When a child is taught ... its programmed with simple instructions -- and at some point, if its mind develops properly, it exceeds the sum of what it was taught, thinks independently. -- Dr. Richard Daystrom, "The Ultimate Computer", stardate 4731.3. From klappnase at web.de Mon Oct 23 13:07:49 2017 From: klappnase at web.de (Michael Lange) Date: Mon, 23 Oct 2017 19:07:49 +0200 Subject: [Tkinter-discuss] Convert Canvas to bitmap image In-Reply-To: <20171023185324.3956c2c9939205deb52e701b@web.de> References: <0BC70B5D93E054469872FFD0FE07220E01CFF9DFCE@CERNXCHG53.cern.ch> <20171023185324.3956c2c9939205deb52e701b@web.de> Message-ID: <20171023190749.5f54c7bf0fdf404407a0af1e@web.de> On Mon, 23 Oct 2017 18:53:24 +0200 Michael Lange wrote: > you can use the tkImg library to do that. tkImg's "window" image type > allows you to create "screenshots" of Tk widgets on the fly. Oh, and I forgot to mention, with the window image type it is necessary that the canvas is *completely* visible on the screen, otherwise you might end up with blacked-out image parts or even a TclError. So for a real big canvas that requires scrolling I am afraid this is no option. Best regards Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. War isn't a good life, but it's life. -- Kirk, "A Private Little War", stardate 4211.8 From rikudou__sennin at outlook.com Thu Oct 19 10:39:58 2017 From: rikudou__sennin at outlook.com (adil gourinda) Date: Thu, 19 Oct 2017 14:39:58 +0000 Subject: [Tkinter-discuss] Documentation In-Reply-To: References: , Message-ID: After talking with the "tcl-core" they explained to me that this link "http://tcl.tk/man/tcl8.5/TkCmd/contents.htm" is a "man" page and can't accept modification and they gave me this alternative link "http://tmml.sourceforge.net/doc/tk/index.html" which is a "tmml" page more enhanced that precedent, you can add it to tkinter' resources Thanks you for your attention? ________________________________ From: Tkinter-discuss on behalf of Bryan Oakley Sent: Wednesday, October 18, 2017 6:29:21 PM To: adil gourinda Cc: tkinter-discuss at python.org Subject: Re: [Tkinter-discuss] Documentation No, that link does not point to an official resource. It is one of several independent sets of documentation. Unfortunately, the strategy for official documentation seems to be "use the tcl/tk documentation, and here's how to apply that to tkinter". The official, canonical tk.documentation (upon which tkinter is built) is here: http://tcl.tk/man/tcl8.5/TkCmd/contents.htm Other good resources include: * The official documentation - https://docs.python.org/3/library/tkinter.html * TkDocs - http://www.tkdocs.com/ - this provides broad coverage of tk with examples in multiple languages, including python. * Effbot - http://effbot.org/tkinterbook/ - a relatively complete overview of tkinter, with a few bits of missing information here and there. On Tue, Oct 17, 2017 at 5:27 PM, adil gourinda > wrote: Hy Tkinter is the standard GUI for Python but there is no standard documentation (if possible in PDF form) even the one included in "python library" is not complete, and after looking outside I found this link "http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/index.html" but I am not sure if it is an official resource and even if it is true their email is not reacting to any suggestion. Thanks for your attention _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss at python.org https://mail.python.org/mailman/listinfo/tkinter-discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: From Vasilis.Vlachoudis at cern.ch Tue Oct 24 05:38:42 2017 From: Vasilis.Vlachoudis at cern.ch (Vasilis Vlachoudis) Date: Tue, 24 Oct 2017 09:38:42 +0000 Subject: [Tkinter-discuss] Convert Canvas to bitmap image In-Reply-To: <20171023190749.5f54c7bf0fdf404407a0af1e@web.de> References: <0BC70B5D93E054469872FFD0FE07220E01CFF9DFCE@CERNXCHG53.cern.ch> <20171023185324.3956c2c9939205deb52e701b@web.de>, <20171023190749.5f54c7bf0fdf404407a0af1e@web.de> Message-ID: <0BC70B5D93E054469872FFD0FE07220E01CFFA1BAD@CERNXCHG53.cern.ch> Thank you very much! It is a good option to explore. Thanks Vasilis ________________________________________ From: Tkinter-discuss [tkinter-discuss-bounces+vasilis.vlachoudis=cern.ch at python.org] on behalf of Michael Lange [klappnase at web.de] Sent: Monday, October 23, 2017 19:07 To: tkinter-discuss at python.org Subject: Re: [Tkinter-discuss] Convert Canvas to bitmap image On Mon, 23 Oct 2017 18:53:24 +0200 Michael Lange wrote: > you can use the tkImg library to do that. tkImg's "window" image type > allows you to create "screenshots" of Tk widgets on the fly. Oh, and I forgot to mention, with the window image type it is necessary that the canvas is *completely* visible on the screen, otherwise you might end up with blacked-out image parts or even a TclError. So for a real big canvas that requires scrolling I am afraid this is no option. Best regards Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. War isn't a good life, but it's life. -- Kirk, "A Private Little War", stardate 4211.8 _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss at python.org https://mail.python.org/mailman/listinfo/tkinter-discuss From rikudou__sennin at live.com Wed Oct 25 19:30:13 2017 From: rikudou__sennin at live.com (adil gourinda) Date: Wed, 25 Oct 2017 23:30:13 +0000 Subject: [Tkinter-discuss] tcl/tk's syntax to python's syntax In-Reply-To: <20171023112719.b88546be956edfcf3656afc6@web.de> References: , <20171023112719.b88546be956edfcf3656afc6@web.de> Message-ID: Hy and sorry for my late response ? Yes I agree, The translation of Tk pathName is problematic and I was prepared to hear something about this point ? but this is my best. The pathname reflect in addition to the widget's name the hierarchy of the widget's parents, I think by knowing the difference between the Tk and python widget's hierarchy allow a better understanding of the Tk pathName. Combining this image with the last one make thinks more clear. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: widget's hierarchy.jpg Type: image/jpeg Size: 48046 bytes Desc: widget's hierarchy.jpg URL: From rikudou__sennin at outlook.com Fri Oct 27 05:24:41 2017 From: rikudou__sennin at outlook.com (adil gourinda) Date: Fri, 27 Oct 2017 09:24:41 +0000 Subject: [Tkinter-discuss] tcl/tk's syntax to python's syntax In-Reply-To: <20171023112719.b88546be956edfcf3656afc6@web.de> References: , <20171023112719.b88546be956edfcf3656afc6@web.de> Message-ID: Hy I am asking your opinion about the last diagram, I want to solve the pathname problem with it. ________________________________ From: Tkinter-discuss on behalf of Michael Lange Sent: Monday, October 23, 2017 10:27:19 AM To: tkinter-discuss at python.org Subject: Re: [Tkinter-discuss] tcl/tk's syntax to python's syntax Hi, On Sun, 22 Oct 2017 21:11:48 +0000 adil gourinda wrote: > With the aim to make translation of tcl/tk's syntax to python's syntax > more easy I made this flowchart and I ask you to check it. > > Thanks for your help? I think the translation of the Tk pathName is problematic. One thing that might come closer could be ".parentWidget.childWidget" -> "Instance" ".parentWidget" -> "parentWidget" But strictly speaking I think this is not correct either. If the Tk root window is the parent, parentWidget is only "." . If a Frame ".f" is the parent, parent widget *is* ".f" in Tk,and a Button widget "b" that is a child of ".f" in Tk *is* ".f.b". Of course considering this the chart might look a bit pointless, like "parentWidget" -> "parentWidget" Actually the widgets' names (as "b" and "f" in the above example) go to the widget's "name" option in Python, which is hardly ever used though (in Tkinter we usually let Python assign the widget names automatically which leads to something that looks like ".1234567890.1234567891" instead of ".f.b"). I hope this makes some sense, and maybe one of the Tk experts here can provide a better explanation. Best regards Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. It [being a Vulcan] means to adopt a philosophy, a way of life which is logical and beneficial. We cannot disregard that philosophy merely for personal gain, no matter how important that gain might be. -- Spock, "Journey to Babel", stardate 3842.4 _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss at python.org https://mail.python.org/mailman/listinfo/tkinter-discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: From rl.ward at bigpond.com Sun Oct 29 23:35:45 2017 From: rl.ward at bigpond.com (Rob Ward) Date: Mon, 30 Oct 2017 14:35:45 +1100 Subject: [Tkinter-discuss] tcl/tk's syntax to python's syntax In-Reply-To: References: , <20171023112719.b88546be956edfcf3656afc6@web.de> Message-ID: <27686349-0A4F-4A1F-9C28-AD4438FE0DF4@bigpond.com> Unfortunately I am not an expert, so my feed back is extremely limited, however I can see value in what you are doing. I have been designing a simple PCB designer to drive my CNC machine. It is Python 3 and uses the tkinter library. I am making good progress but find the syntax for the GUI elements somewhat "taxing" as it makes the setting up the components feel like a dog's dinner. Different, but related functions, don't feel logical. Given the amount required for even a simple GUI any rationalisation of the syntax that helps understand their interdependence would be good. I hope I have understood your intentions. Cheers, RobW On 27 October 2017 8:24:41 pm AEDT, adil gourinda wrote: >Hy >I am asking your opinion about the last diagram, I want to solve the >pathname problem with it. >________________________________ >From: Tkinter-discuss > on behalf >of Michael Lange >Sent: Monday, October 23, 2017 10:27:19 AM >To: tkinter-discuss at python.org >Subject: Re: [Tkinter-discuss] tcl/tk's syntax to python's syntax > >Hi, > >On Sun, 22 Oct 2017 21:11:48 +0000 >adil gourinda wrote: > >> With the aim to make translation of tcl/tk's syntax to python's >syntax >> more easy I made this flowchart and I ask you to check it. >> >> Thanks for your help? > >I think the translation of the Tk pathName is problematic. One thing >that >might come closer could be > > ".parentWidget.childWidget" -> "Instance" > ".parentWidget" -> "parentWidget" > >But strictly speaking I think this is not correct either. If the Tk >root >window is the parent, parentWidget is only "." . If a Frame ".f" is the >parent, parent widget *is* ".f" in Tk,and a Button widget "b" that is a >child of ".f" in Tk *is* ".f.b". Of course considering this the chart >might look a bit pointless, like > > "parentWidget" -> "parentWidget" > >Actually the widgets' names (as "b" and "f" in the above example) go to >the widget's "name" option in Python, which is hardly ever used though >(in Tkinter we usually let Python assign the widget names automatically >which leads to something that looks like ".1234567890.1234567891" >instead >of ".f.b"). > >I hope this makes some sense, and maybe one of the Tk experts here can >provide a better explanation. > >Best regards > >Michael > > >.-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . >.-. > >It [being a Vulcan] means to adopt a philosophy, a way of life which is >logical and beneficial. We cannot disregard that philosophy merely for >personal gain, no matter how important that gain might be. > -- Spock, "Journey to Babel", stardate 3842.4 >_______________________________________________ >Tkinter-discuss mailing list >Tkinter-discuss at python.org >https://mail.python.org/mailman/listinfo/tkinter-discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: From rikudou__sennin at live.com Tue Oct 31 07:59:00 2017 From: rikudou__sennin at live.com (adil gourinda) Date: Tue, 31 Oct 2017 11:59:00 +0000 Subject: [Tkinter-discuss] tcl/tk's syntax to python's syntax In-Reply-To: <27686349-0A4F-4A1F-9C28-AD4438FE0DF4@bigpond.com> References: , <20171023112719.b88546be956edfcf3656afc6@web.de> , <27686349-0A4F-4A1F-9C28-AD4438FE0DF4@bigpond.com> Message-ID: Tkinter is the standard GUI for python but there is no official Tkinter's documentation so I am obliged to read from Tcl/Tk reference ( http:// tmml.sourceforge.net /doc/ tk / index.html), To make Tcl/Tk syntax EASY TO READ for pythonic programmers I made those diagrams, My purpose is so simple. ________________________________ From: Tkinter-discuss on behalf of Rob Ward Sent: Monday, October 30, 2017 3:35:45 AM To: tkinter-discuss at python.org Subject: Re: [Tkinter-discuss] tcl/tk's syntax to python's syntax Unfortunately I am not an expert, so my feed back is extremely limited, however I can see value in what you are doing. I have been designing a simple PCB designer to drive my CNC machine. It is Python 3 and uses the tkinter library. I am making good progress but find the syntax for the GUI elements somewhat "taxing" as it makes the setting up the components feel like a dog's dinner. Different, but related functions, don't feel logical. Given the amount required for even a simple GUI any rationalisation of the syntax that helps understand their interdependence would be good. I hope I have understood your intentions. Cheers, RobW On 27 October 2017 8:24:41 pm AEDT, adil gourinda wrote: Hy I am asking your opinion about the last diagram, I want to solve the pathname problem with it. ________________________________ From: Tkinter-discuss on behalf of Michael Lange Sent: Monday, October 23, 2017 10:27:19 AM To: tkinter-discuss at python.org Subject: Re: [Tkinter-discuss] tcl/tk's syntax to python's syntax Hi, On Sun, 22 Oct 2017 21:11:48 +0000 adil gourinda wrote: > With the aim to make translation of tcl/tk's syntax to python's syntax > more easy I made this flowchart and I ask you to check it. > > Thanks for your help? I think the translation of the Tk pathName is problematic. One thing that might come closer could be ".parentWidget.childWidget" -> "Instance" ".parentWidget" -> "parentWidget" But strictly speaking I think this is not correct either. If the Tk root window is the parent, parentWidget is only "." . If a Frame ".f" is the parent, parent widget *is* ".f" in Tk,and a Button widget "b" that is a child of ".f" in Tk *is* ".f.b". Of course considering this the chart might look a bit pointless, like "parentWidget" -> "parentWidget" Actually the widgets' names (as "b" and "f" in the above example) go to the widget's "name" option in Python, which is hardly ever used though (in Tkinter we usually let Python assign the widget names automatically which leads to something that looks like ".1234567890.1234567891" instead of ".f.b"). I hope this makes some sense, and maybe one of the Tk experts here can provide a better explanation. Best regards Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. It [being a Vulcan] means to adopt a philosophy, a way of life which is logical and beneficial. We cannot disregard that philosophy merely for personal gain, no matter how important that gain might be. -- Spock, "Journey to Babel", stardate 3842.4 _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss at python.org https://mail.python.org/mailman/listinfo/tkinter-discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: