From Stefan.Richthofer at gmx.de Tue Apr 5 13:31:22 2016 From: Stefan.Richthofer at gmx.de (Stefan Richthofer) Date: Tue, 5 Apr 2016 19:31:22 +0200 Subject: [Tkinter-discuss] Help/advice needed for Tkinter related JyNI issue Message-ID: Hello everybody, I am the author of the JyNI-project (www.jyni.org) which aims to support native CPython extensions in Jython. Some basic Tkinter stuff is known to work with JyNI on Linux, but unfortunately hangs on OSX: https://github.com/Stewori/JyNI/issues/4 In this thread we collected everything we know about this issue so far. The issue is rather strange in the sense that the sample works well on Linux, while it hangs on OSX. Briefly speaking, on OSX TCL/TK does not produce a particular event the loop is waiting for and does not display the window. However logging suggests that calls to TCL/TK API are identical between Linux and OSX runs, so we are really stuck here in finding out what is different on Linux (our current logging does not cover function argument values though). I think there must be something subtle JyNI is doing wrong and that only manifests on OSX. (Running with CPython the sample succeeds on that system.) Any advise how I can find the reason for the missing event would be helpful. My usual divide and conquer debugging approach struggles here because I don't know enough about TCL/TK to trace the cause for the issue through its API. Is there something like an internal log of TCL accessible? Or a way to see the events processed by TCL_DoOneEvent? Thanks in advance for any helpful hint. Stefan From mickey.kocic at gmail.com Thu Apr 21 10:59:45 2016 From: mickey.kocic at gmail.com (Mickey Kocic) Date: Thu, 21 Apr 2016 10:59:45 -0400 Subject: [Tkinter-discuss] standard tkinter command set Message-ID: Could you provide me with a link to the list of the standard tkinter/tcl command set? I had to put up with the snarkoids at Stack Overflow before one (unintentionally!) informed me that the Text widget has its own native bindings for cut, copy and paste, and that i had wasted time wrapping them in my application. Before I go through that again I'd like to be properly informed about the features. Thanks for all replies. Mickey -------------- next part -------------- An HTML attachment was scrubbed... URL: From klappnase at web.de Thu Apr 21 12:34:17 2016 From: klappnase at web.de (Michael Lange) Date: Thu, 21 Apr 2016 18:34:17 +0200 Subject: [Tkinter-discuss] standard tkinter command set In-Reply-To: References: Message-ID: <20160421183417.14e78efea2f43ec2c689f448@web.de> Hi, On Thu, 21 Apr 2016 10:59:45 -0400 Mickey Kocic wrote: > Could you provide me with a link to the list of the standard tkinter/tcl > command set? I had to put up with the snarkoids at Stack Overflow before > one (unintentionally!) informed me that the Text widget has its own > native bindings for cut, copy and paste, and that i had wasted time > wrapping them in my application. Before I go through that again I'd > like to be properly informed about the features. there are two excellent resources for Tkinter, Frederik Lundh's Tkinter book can be found at: http://effbot.org/tkinterbook/tkinter-index.htm Second, there is a very good Tkinter reference by John W. Shipman at: http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/index.html You might also want to check the Tk man pages at: http://tcl.tk/man/tcl8.6/TkCmd/contents.htm These are of course written for Tcl users, however once you understand how Tkinter works it is usually easy to "translate" the commands from Tcl to Python. Best regards Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. Behind every great man, there is a woman -- urging him on. -- Harry Mudd, "I, Mudd", stardate 4513.3 From msa01 at bitflipper.ca Thu Apr 21 12:27:51 2016 From: msa01 at bitflipper.ca (Cam Farnell) Date: Thu, 21 Apr 2016 13:27:51 -0300 Subject: [Tkinter-discuss] standard tkinter command set In-Reply-To: References: Message-ID: <5718FF87.10401@bitflipper.ca> I'm not sure if it's exactly what you are looking for, but this is my usual go-to for information about tkinter: http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/index.html Cheers Cam Farnell On 16-04-21 11:59 AM, Mickey Kocic wrote: > Could you provide me with a link to the list of the standard tkinter/tcl command set? I had to put up with the snarkoids at Stack Overflow before one (unintentionally!) informed me that the Text widget has its own native bindings for cut, copy and paste, and that i had wasted time wrapping them in my application. Before I go through that again I'd like to be properly informed about the features. > > Thanks for all replies. > > Mickey > > > _______________________________________________ > Tkinter-discuss mailing list > Tkinter-discuss at python.org > https://mail.python.org/mailman/listinfo/tkinter-discuss > From john at nmt.edu Thu Apr 21 22:47:55 2016 From: john at nmt.edu (John W. Shipman) Date: Thu, 21 Apr 2016 20:47:55 -0600 (MDT) Subject: [Tkinter-discuss] standard tkinter command set In-Reply-To: <20160421183417.14e78efea2f43ec2c689f448@web.de> References: <20160421183417.14e78efea2f43ec2c689f448@web.de> Message-ID: On Thu, 21 Apr 2016, Michael Lange wrote: +-- | Second, there is a very good Tkinter reference by John W. Shipman at: | | http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/index.html +-- Thanks for the compliment. There is a more current version here: http://www.nmt.edu/~shipman/soft/tkinter/ This version incorporates a few minor corrections. Please send suggestions corrections to the email below. Best regards, John Shipman (john at nmt.edu), Adjunct Professor of Computer Science Cramer 212, New Mexico Tech, Socorro, NM 87801 (505)249-3839 From sbaskin at clearviewsubsea.com Fri Apr 29 10:31:08 2016 From: sbaskin at clearviewsubsea.com (Stewart Baskin) Date: Fri, 29 Apr 2016 09:31:08 -0500 Subject: [Tkinter-discuss] Tkinter multiple font sizes in same text input Message-ID: <000c01d1a223$c5c08a60$51419f20$@clearviewsubsea.com> Hello, Thank you in advance for your assistance with this query. I would like to produce multiple font sizes on the same line. For example: ## mg/l I know how to assign the font type/size, but am unable to do this twice (only the second text and font size appear in the window). Is it possible to assign multiple font sizes to the same line in Tkinter? Thank you, Stew -------------- next part -------------- An HTML attachment was scrubbed... URL: From bryan.oakley at gmail.com Sat Apr 30 08:01:15 2016 From: bryan.oakley at gmail.com (Bryan Oakley) Date: Sat, 30 Apr 2016 07:01:15 -0500 Subject: [Tkinter-discuss] Tkinter multiple font sizes in same text input In-Reply-To: <000c01d1a223$c5c08a60$51419f20$@clearviewsubsea.com> References: <000c01d1a223$c5c08a60$51419f20$@clearviewsubsea.com> Message-ID: it is not possible to do this with an Entry widget, but you can create a one-line Text widget and use the text widget's ability to change the attributes of each character with tags. On Fri, Apr 29, 2016 at 9:31 AM, Stewart Baskin wrote: > Hello, > > > > Thank you in advance for your assistance with this query. I would like to > produce multiple font sizes on the same line. For example: > > > > ## mg/l > > > > I know how to assign the font type/size, but am unable to do this twice > (only the second text and font size appear in the window). > > > > Is it possible to assign multiple font sizes to the same line in Tkinter? > > > > Thank you, > > Stew > > _______________________________________________ > 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: