Label width
Fredrik Juhlin
laz at strakt.com
Fri Feb 8 11:47:59 EST 2002
More information about the Python-list mailing list
Fri Feb 8 11:47:59 EST 2002
- Previous message (by thread): Stupid Question
- Next message (by thread): Label width
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Feb 08, 2002 at 04:34:33PM +0000, Salim Zayat wrote: > Is there a way to determine the width and height of a Label widget (in > pixels) before it is actually drawn to screen? label.winfo_width() and label.winfo_height() should do it. You might need to call label.update_idletasks() first though, to make sure you get the correct values. //FJ
- Previous message (by thread): Stupid Question
- Next message (by thread): Label width
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list