Re: [Tkinter-discuss] Issue with scrolling in a Text() widget on a mac

2008-07-19 Thread Kevin Walzer
Alexnb wrote: Okay I installed the dmg but I still have the same version.. what am I missing? You forgot to rebuild Python from source. :-) Comment out the line in setup.py that lists /System/Library as a place to search for Tk, and it will search in /Library instead, and link against the

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

2008-07-19 Thread Michael O'Donnell
Hi, I ran the following on my Mac running python2.5.2 under Panther: from Tkinter import* root = Tk() cwgt=Canvas(root) cwgt.pack(expand=True, fill=BOTH) image1=PhotoImage(file="pict.gif") # keep a link to the image to stop the image being garbage collected cwgt.img=image1 cwgt.create_image(0, 0,

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

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

2008-07-19 Thread Guilherme Polo
On Sat, Jul 19, 2008 at 8:30 PM, Tim Jones <[EMAIL PROTECTED]> wrote: > 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 >>>

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

2008-07-19 Thread Alexnb
Tim Jones-8 wrote: > > 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 t

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 Alexnb
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 work? > > You could just use a

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

2008-07-19 Thread Guilherme Polo
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 work? You could just use a Label with a image and use this Label as

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

2008-07-19 Thread Alexnb
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 work? -- View this message in context: http://www.nabble.com/Making-an-image-the-background-of-a-Frame-tp18549545p18549545.html Sent from the

Re: [Tkinter-discuss] Issue with scrolling in a Text() widget on a mac

2008-07-19 Thread Alexnb
Alexnb wrote: > > > > Kevin Walzer-5 wrote: >> >> Alexnb wrote: >>> >> >>> As far as I know I've got the latest python, I code with 2.5, but I am >>> not >>> sure about Tk(). How can I check? My mac is updated as well. It's a >>> macbook. >>> But I don't see how that would make a differenc

Re: [Tkinter-discuss] Issue with scrolling in a Text() widget on a mac

2008-07-19 Thread Kevin Walzer
Alexnb wrote: Well, it is 8.4.7 so how can I get 8.5 on a mac? Install ActiveTcl from ActiveState, and build Python to link against Tk 8.5. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Tkinter-discuss mailing list Tkinter-dis

Re: [Tkinter-discuss] Issue with scrolling in a Text() widget on a mac

2008-07-19 Thread Alexnb
Kevin Walzer-5 wrote: > > Alexnb wrote: >> > >> As far as I know I've got the latest python, I code with 2.5, but I am >> not >> sure about Tk(). How can I check? My mac is updated as well. It's a >> macbook. >> But I don't see how that would make a difference. >> > > root.tk.call('info',

Re: [Tkinter-discuss] Issue with scrolling in a Text() widget on a mac

2008-07-19 Thread Kevin Walzer
Alexnb wrote: As far as I know I've got the latest python, I code with 2.5, but I am not sure about Tk(). How can I check? My mac is updated as well. It's a macbook. But I don't see how that would make a difference. root.tk.call('info', 'patchlevel') will give you the version of Tk that

Re: [Tkinter-discuss] Issue with scrolling in a Text() widget on a mac

2008-07-19 Thread Alexnb
Kevin Walzer-5 wrote: > > Alexnb wrote: > >> >> Okay, here we go. Try this out, let me know how it works. It has the same >> issue for me. >> >> > > > Works fine for me. What does your setup look like? OS version, version > of Python and Tk? > > -- > Kevin Walzer > Code by Kevin > http:

Re: [Tkinter-discuss] Issue with scrolling in a Text() widget on a mac

2008-07-19 Thread Kevin Walzer
Alexnb wrote: Okay, here we go. Try this out, let me know how it works. It has the same issue for me. Works fine for me. What does your setup look like? OS version, version of Python and Tk? -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___

Re: [Tkinter-discuss] Issue with scrolling in a Text() widget on a mac

2008-07-19 Thread Alexnb
Kevin Walzer-5 wrote: > > Alexnb wrote: > >> Yes sorry. I do actually have that, I just forgot to put it in because it >> was below some comments. Everything works perfect on windows, but not on >> mac, which is the weird part. I think it is just maybe an issue in >> Tkinter >> with mac. >> >

Re: [Tkinter-discuss] Issue with scrolling in a Text() widget on a mac

2008-07-19 Thread Kevin Walzer
Alexnb wrote: Yes sorry. I do actually have that, I just forgot to put it in because it was below some comments. Everything works perfect on windows, but not on mac, which is the weird part. I think it is just maybe an issue in Tkinter with mac. It might be helpful to put together a small code

Re: [Tkinter-discuss] Issue with scrolling in a Text() widget on a mac

2008-07-19 Thread Alexnb
Kevin Walzer-5 wrote: > > Alexnb wrote: >> Hello everyone! >> >> So, I have a texbox widget and I connected a scrollbar to it. On my PC >> everything works great. But on my mac, you can't scroll when you click >> the >> box and dragging the actual bar is very choppy. The only way it works >> l

Re: [Tkinter-discuss] Issue with scrolling in a Text() widget on a mac

2008-07-19 Thread Kevin Walzer
Alexnb wrote: Hello everyone! So, I have a texbox widget and I connected a scrollbar to it. On my PC everything works great. But on my mac, you can't scroll when you click the box and dragging the actual bar is very choppy. The only way it works like it should is the actual arrow on the end of t

Re: [Tkinter-discuss] Buttons on a mac over-riding the Frame background

2008-07-19 Thread Kevin Walzer
Alexnb wrote: Okay, so if my title didn't make that much sense, what I mean is this. Say I have a frame called "buttonsFrame" and I have two buttons in it. If the Frame's background is red, there is a little white square around the buttons. how can I get rid of that? Is there a way to change t