Re: [Tutor] Getting the screen size....using Tkinter

2006-12-04 Thread Feise, David
Try this:

 from Tkinter import *
 root = Tk()
 root.winfo_screenwidth()
1280
 root.winfo_screenheight()
1024



-Dave

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Asrarahmed Kadri
Sent: Monday, December 04, 2006 8:44 AM
To: tutor-python
Subject: [Tutor] Getting the screen sizeusing Tkinter



Hi folks,

Is it possible to get the screen size using a standard API of Tkinter?

And also any function to position the window in the center of the
screen..??

Thanks in anticipation. 

Regards,

Asrarahmed Kadri

-- 
To HIM you shall return. 
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Resources for Tkinter...

2006-10-19 Thread Feise, David








I really got a lot out of Thinking in
Tkinter: http://www.ferg.org/thinking_in_tkinter/

It doesnt delve too deeply, but its
still a good resource. 



This New Mexico Tech website is a good
reference once youve got some of the basics: http://infohost.nmt.edu/tcc/help/pubs/tkinter/



-Dave











From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Asrarahmed Kadri
Sent: Thursday, October 19, 2006
4:12 PM
To: pythontutor
Subject: [Tutor] Resources for
Tkinter...













Folks,











I have the Tkinter book by Grayson (Python and Tkinter
Programming).. But I must say, its
quite boring..











Do you have any suggestions for a nice book or web resource..??











Thanks,











REgards,





Asrarahmed

-- 
To HIM you shall return. 








___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor