Re: [Tkinter-discuss] Fwd: Python + Tk/Tcl building

2008-10-01 Thread Tim Jones
On Oct 1, 2008, at 8:22 AM, Алексей Макаров wrote: Hello! I want to build python with Tk/Tcl by mysel. When writing coomand ¨import Tkinter¨ tehere is an error import Tkinter Traceback (most recent call last): File "", line 1, in File "/usr/local/Py/lib/python2.5/lib-tk/Tkinter.py", lin

Re: [Tkinter-discuss] Posting a new Thread...

2008-11-16 Thread Tim Jones
Hi - You just did! Simply send a new email with a new subject (versus a reply to an old message that you just change the subject text). Tim On Nov 16, 2008, at 6:07 AM, Gabor Kalman wrote: Some time ago I successfully subscribed to Tkinter-discuss (with email addres+password). I am havi

Re: [Tkinter-discuss] From wxPython to TK

2009-03-19 Thread Tim Jones
On Mar 19, 2009, at 1:42 AM, jimscafe wrote: I am a businessman who writes his own software to help run the business. That said I started writing software in Fortran on an ICL mainframe, then on a Commodore pet, then an Apple II. I gravitated towards Python some 6 years ago (via java and pe

Re: [Tkinter-discuss] From wxPython to TK

2009-03-19 Thread Tim Jones
On Mar 19, 2009, at 8:51 AM, Tim Jones wrote: ...be aware that ANY cross-platform toolkit is going to see problems with the DPI setting differences between Windows (72 DPI default) and Linux X11 (72 to 99 DPI default). You really need to create your widgets in such a manner that things

Re: [Tkinter-discuss] From wxPython to TK

2009-03-20 Thread Tim Jones
On Mar 20, 2009, at 4:10 AM, Michael Lange wrote: On Thu, 19 Mar 2009 08:51:38 -0700 Tim Jones wrote: You can get the DPI value on Linux using "xdpyinfo | grep resolution" in a terminal. You can even do this from Tk, just type: dpi_value = root.winfo_fpixels('1i&

[Tkinter-discuss] List Reply To: field - was: Tkinter and Antialiasing

2009-04-13 Thread Tim Jones
On Apr 13, 2009, at 4:44 AM, Wayne Watson wrote: I find posts to these lists a little odd anyway. People are posting from outside the tkinter-disc...@python.org. Responding to them rather than the list tends to confuse matters (I'm referring to the fact their posts may not show tkinter-disc

Re: [Tkinter-discuss] Forcing a window to update with while loop running

2009-06-18 Thread Tim Jones
On Jun 18, 2009, at 1:34 PM, Adam Kadzban wrote: ... loop = 1 ... (create a button that sets loop to 0) ... top.update() <<--- Remove ... while loop: top.update() <<--- Remove ...do stuff... top.update() The result here is that the UI will update on each iteration of the loop. I b

Re: [Tkinter-discuss] How to configure the non-default Python version to work with tk

2010-02-17 Thread Tim Jones
On Feb 17, 2010, at 8:41 AM, Noelia Oses wrote: > Hi all, > > I have a very newby question. > I'm using a computer with Ubuntu Karmic Koala. > The Ubuntu has python 2.6 installed by default, and this default installation > includes tkinter. > > However, I'm using a platform (NuPIC) that needs P

Re: [Tkinter-discuss] Labels with no background

2010-06-14 Thread Tim Jones
On Jun 14, 2010, at 12:01 PM, Bradley Hintze wrote: > create_text() moves with the 'scroll' of the canvas where as label > does not which is a functionality that I need. Bradley, What if you place your text into a small, empty canvas and then place that small canvas on top of your main canvas (

Re: [Tkinter-discuss] want to build Python with Tkinter on Linux

2011-03-21 Thread Tim Jones
On Mar 21, 2011, at 1:45 PM, Kevin Buchs wrote: > I have locked-down (by others) Linux systems, so I need my own custom install > of Python (2.7). I have yet to get Tkinter working in the build process. > Python will be in a non-standard location and Tcl/Tk are in a non-standard > location. I

Re: [Tkinter-discuss] want to build Python with Tkinter on Linux

2011-03-21 Thread Tim Jones
On Mar 21, 2011, at 2:42 PM, Kevin Buchs wrote: > Tim, > > Thanks for your reply. This will handle the Python install path. But I can't > get Python to build with Tkinter. > > - Kevin Buchs > > On Mon, Mar 21, 2011 at 4:14 PM, Tim Jones wrote: > I use custom l

Re: [Tkinter-discuss] Differences on Mac and Windows

2014-02-14 Thread Tim Jones
What if you chafe the font size to 10 on the Mac side? That always works for me. Tim On Feb 14, 2014, at 8:47 AM, Bhaskar Chaudhary wrote: > Thanks Kevin > > So what do you suggest to make it render compatibly on both platforms. > Do we need to remove font="Times 8 bold" from mytext as follo

Re: [Tkinter-discuss] Differences on Mac and Windows

2014-02-14 Thread Tim Jones
On Feb 14, 2014, at 8:39 AM, Kevin Walzer wrote: > On 2/14/14, 10:21 AM, Bhaskar Chaudhary wrote: >> Hi Kevin >> >> On Windows it looks like the following attachment. >> >> regards >> Bhaskar > > Thank you. As I expected, that is simply the difference in the font rendering > engines on both p

Re: [Tkinter-discuss] Differences on Mac and Windows

2014-02-14 Thread Tim Jones
Stupid Apple autocorrect - that should have been “change” not “chafe” :) Tim On Feb 14, 2014, at 9:01 AM, Tim Jones wrote: > What if you chafe the font size to 10 on the Mac side? That always works for > me. > > Tim > > On Feb 14, 2014, at 8:47 AM, Bhaskar Chaudhary w

Re: [Tkinter-discuss] implementation change to simplify Tkinter event loop and threading issues

2018-06-06 Thread Tim Jones
> On Jun 6, 2018, at 11:56 AM, Mark Roseman wrote: > > The best part of this, at least as far as stability goes, is that Tcl > controls the timing of the calls into Tkinter, so that it will only make them > when it’s “safe” to do so, from a thread it expects to do so from, etc. Given > that T

Re: [Tkinter-discuss] Anaconda

2019-01-23 Thread Tim Jones
Hi, we're Apple. We know that your existing code is working fine, but we're going to change things up for no good reason. Wanna buy a new underpowered Mac? Unfortunately, it doesn't only apply to Tkinter and Python. -- Tim > On Jan 23, 2019, at 2:32 PM, bob wrote: > > This is handy. Instea

[Tkinter-discuss] GCC Error when building under Irix 6.5

2005-03-28 Thread Tim Jones
start by checking the -O flag in your Python Makefile. If this is a FAQ, sorry but I couldn't find it via Google. Tim -- Tim Jones tjmac [at] tolisgroup [dot] com Example of the GCC error: gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-pro

Re: [Tkinter-discuss] Here's a tough one -- dynamic, multi-line XML syntax highlighting

2005-03-28 Thread Tim Jones
line or on a new line at the end of a selected section. I can't think of anything else at the moment. Have you also considered examining what is done in VIM's syntax highlighting? Tim -- Tim Jones tjmac [at] tolisgroup [dot] com Tim Jones wrote: On Mar 28, 2005, at 10:10 AM, Jar

Re: [Tkinter-discuss] How fast is my computer?

2007-04-03 Thread Tim Jones
a timer loop that reacts based on the number of seconds passed. This way, you print whatever the number of processed "things" is every 3 seconds (for example). This way, it doesn't matter how fast the system is - you get an update for t

Re: [Tkinter-discuss] use entry field to enter password (Re: Tkinter-discuss Digest, Vol 47, Issue 5)

2008-01-06 Thread Tim Jones
On Jan 6, 2008, at 6:54 AM, Fredrik Lundh wrote: > Rajeev Nair wrote: > >> can anyone tell me how to use the entry field to enter system >> password? >> So instead of system asking me in terminal i want to enter the >> password through the entry field. > > not sure what you mean by "system" here

Re: [Tkinter-discuss] Tkinter slows down

2008-01-07 Thread Tim Jones
On Jan 7, 2008, at 2:06 PM, Cam Farnell wrote: > I'm creating a program which displays spreadsheet-like data using > hundreds of labels. At first this works fine, however after a few > redisplays it starts slowing down dramatically. > > A small test program, without the distractions of the real pr

Re: [Tkinter-discuss] Tkinter slows down

2008-01-07 Thread Tim Jones
On Jan 7, 2008, at 2:06 PM, Cam Farnell wrote: > I'm creating a program which displays spreadsheet-like data using > hundreds of labels. At first this works fine, however after a few > redisplays it starts slowing down dramatically. Also, have you considered using tkTable (part of the Tile projec

Re: [Tkinter-discuss] how to search a directory from a Tkinter program

2008-03-19 Thread Tim Jones
On Mar 19, 2008, at 6:17 AM, Cam Farnell wrote: > A good start would be to read the documentation for the Python "OS" > module. And that seems to be the answer to ALL of Brindly's queries. That and the fact that he's somehow confused tkinter as a self-contained programming API, not realizi

Re: [Tkinter-discuss] how to search a directory from a Tkinter program

2008-03-19 Thread Tim Jones
On Mar 19, 2008, at 12:34 AM, brindly sujith wrote: hi i am developing an application in tkinter i want to know whether we have any option to search a directory from tkinter program please answer me Brindly, While many of us on the list would be glad to answer specific implementation

Re: [Tkinter-discuss] thread module

2008-04-01 Thread Tim Jones
On Apr 1, 2008, at 6:05 AM, Amit Finkler wrote: > Hi, > > Following a previous post of mine (http://mail.python.org/pipermail/ > tkinter-discuss/2008-March/001320.html), I finally managed to start > a new thread using the thread module. This new thread is started by > clicking on a button on m

Re: [Tkinter-discuss] Mulitple root windows

2008-04-08 Thread Tim Jones
On Apr 8, 2008, at 1:49 PM, Vasilis Vlachoudis wrote: > In my application I wanted to have a help window which is > responsive at all times even if a dialog issues a grab_set. > > I solved the problem by starting the Help window as a second root > window with Tk().Now my program is like the fo

Re: [Tkinter-discuss] Making an image the background of a Frame

2008-07-19 Thread Tim Jones
On Jul 19, 2008, at 4:20 PM, Alexnb wrote: Guilherme Polo wrote: On Sat, Jul 19, 2008 at 7:43 PM, Alexnb <[EMAIL PROTECTED]> wrote: So, is there a way I can make the background of a frame an image and still have all the widgets (buttons in this case) remain where they are and how they w

Re: [Tkinter-discuss] Making an image the background of a Frame

2008-07-19 Thread Tim Jones
On Jul 19, 2008, at 5:12 PM, Guilherme Polo wrote: Unfortunately, this is one of the aspects of TK that isn't quite right on OS X. You could use a drawn image of a button on your backdrop image and then monitor for the mouseclick position to determine that the pseudo- button was pressed, b