Hallo,
Kan mir jemand sagen, wie ich einstelle,dass dasCanvas die maximale Bildschirmgröße hat, natürlich nur solange es den Fokus hat.
thx
Canvas hat maximale röße
Das sollte dir einen ersten Hinweis geben:Testname hat geschrieben:Kan mir jemand sagen, wie ich einstelle,dass dasCanvas die maximale Bildschirmgröße hat, natürlich nur solange es den Fokus hat.
Code: Alles auswählen
import Tkinter
root=Tkinter.Tk()
root_height=root.winfo_vrootheight()
root_width=root.winfo_vrootwidth()
canvas=Tkinter.Canvas(root, width=root_width, height=root_height)
Jens Kubieziel http://www.kubieziel.de
http://www.kubieziel.de/pythonwiki/
http://www.kubieziel.de/pythonwiki/