[Tkinter-discuss] Changing image data in ttk does not work
spooky.ln at tbs-software.com
Sun Dec 18 20:43:52 CET 2011
V Sun, 18 Dec 2011 18:01:02 +0100
Michael Lange <klappnase at web.de> napsáno:
same here. tested with py2.7 and py3.2
Tk version 8.5.11 on ArchLinux i686
> Hi again,
> Thus spoketh Michael Lange <klappnase at web.de>
> unto us on Sun, 18 Dec 2011 17:47:26 +0100:
> > Hi,
> > I just noticed an odd behavior in ttk, when I try to change the
> > image data of a ttk.Label's image, the image isn't actually
> > updated. A simple code example:
> I just noticed that it is even starnger; actually the image *is*
> updated, as soon as the mouse pointer enters or leaves the
> ttk.Label . So I think this really appears to be a (maybe Tk-version
> specific?) bug. Can anyone confirm this behavior?
> .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-.
> --- ... .--. . .-.
> "I think they're going to take all this money that we spend
> now on war and death --"
> "And make them spend it on life."
> -- Edith Keeler and Kirk, "The City on the Edge of
> Forever", stardate unknown.
> Tkinter-discuss mailing list
> Tkinter-discuss at python.org
More information about the Tkinter-discuss