Re: [Tkinter-discuss] A Button command callback question...

2011-07-19 Thread johnmc
On Sun, 17 Jul 2011 20:34:58 -0700 (PDT), GKalman wrote > The following code fragment works OK. Question: why? > #== > from Tkinter import * > root=Tk() > > lbl=Label(root,text='1').pack() > > def doIt(): > lbl.config(bg="yellow") > > btn=Button(root,text

Re: [Tkinter-discuss] scrolled canvas ,strange problem

2011-09-03 Thread johnmc
On Sat, 3 Sep 2011 17:31:24 +0800, contro opinion wrote > i have written a program in tkinter to draw stock graph,there are two > strange thing i can't understand > the attachment is 'AAU' data file(attachment 1).when you download it > ,please save it in /tmp/AAU > there is a scrolled

Re: [Tkinter-discuss] Toplevel background

2016-09-06 Thread johnmc
On Tue, 6 Sep 2016 07:41:41 +, Vasilis Vlachoudis wrote > Hi all, > > I have a window which I make full screen with the option > > tk = Tk() > tk.attributes("-fullscreen", True) > c = Canvas(tk, background="Black") > c.pack(expand=YES, fill=BOTH, padx=0, pady=0) > > and displays a full scree

Re: [Tkinter-discuss] Frame button binding

2016-09-08 Thread johnmc
On Tue, 6 Sep 2016 09:00:45 +, Vasilis Vlachoudis wrote > Hi all, > > I want to create a Scrolled Frame, it works nicely with the place command > however when I bind the B2-Motion, and I click the middle mouse button > on the child buttons instead of dragging it does nothing, since they are >