Re: [Tkinter-discuss] experimental tk program in python3

2010-12-17 Thread python
Michael, Ah, I see! The trick seems to be: - don't set a frame's border width or relief properties (or reset them to 0 and 'flat') - set highlightcolor= - set highlightbackground= - set highlightthickness= I think that also answers the question I just posted regarding how to create the appearanc

Re: [Tkinter-discuss] experimental tk program in python3

2010-12-17 Thread Michael Lange
Hi, Thus spoketh pyt...@bdurham.com unto us on Fri, 17 Dec 2010 08:41:45 -0500: > Hi Michael, > > > For widgets that don't accept keyboard focus you can use the > > highlightbackground option to create a colored border (although you > > cannot add a "3D"-relief this way) ... > > I took your e

Re: [Tkinter-discuss] experimental tk program in python3

2010-12-17 Thread python
Hi Michael, > For widgets that don't accept keyboard focus you can use the > highlightbackground option to create a colored border (although you cannot > add a "3D"-relief this way) ... I took your example and added another frame and widgets that gain focus. Your highlightbackground suggestion

Re: [Tkinter-discuss] experimental tk program in python3

2010-12-17 Thread Michael Lange
Hi, Thus spoketh pyt...@bdurham.com unto us on Thu, 16 Dec 2010 18:07:27 -0500: > Dave, > > Works in Python 2.7 by changing import statements to: > > from Tkinter import * > import ttk > > Is there a way to change a frame's border color? (I think this is a > Tkinter limitation, but I'd love t

Re: [Tkinter-discuss] experimental tk program in python3

2010-12-16 Thread python
Dave, Works in Python 2.7 by changing import statements to: from Tkinter import * import ttk Is there a way to change a frame's border color? (I think this is a Tkinter limitation, but I'd love to be proven wrong) I don't think your border width spinner updates the border? Nice to have additio

[Tkinter-discuss] experimental tk program in python3

2010-12-16 Thread David Cortesi
http://snippets.dzone.com/posts/show/12755 """ Program to do dynamic experimentation with the various padding and border properties of a ttk.Frame. A frame is created and populated with three sub-frames: 1. A set of spinboxes that adust the various padding parameters. 2. A set of controls to adj