<DIV>Hi Sajjad,</DIV>
<DIV>&nbsp;</DIV>
<DIV>You can see how to do this here: <A href="http://www.pythonware.com/library/tkinter/introduction/x9867-window-geometry-methods.htm">http://www.pythonware.com/library/tkinter/introduction/x9867-window-geometry-methods.htm</A>&nbsp;at the very bottom of the page.</DIV>
<DIV>&nbsp;</DIV>
<DIV>The resizable option takes a tuple instead of something like resizable=False.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Essentially, you'll need to do the following:</DIV>
<DIV>&nbsp;</DIV>
<DIV>master.resizable(0, 0) # as in x=0 and y=0 if master is an instance of Tk()</DIV>
<DIV>&nbsp;</DIV>
<DIV>This will keep the window from being resized and make the 'maximum' button on the window to be shown as inactive (or 'grayed out' as some may say).</DIV>
<DIV>&nbsp;</DIV>
<DIV>HTH,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Harlin Seritt</DIV>
<DIV><BR><BR><B><I>tkinter-discuss-request@python.org</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Send Tkinter-discuss mailing list submissions to<BR>tkinter-discuss@python.org<BR><BR>To subscribe or unsubscribe via the World Wide Web, visit<BR>http://mail.python.org/mailman/listinfo/tkinter-discuss<BR>or, via email, send a message with subject or body 'help' to<BR>tkinter-discuss-request@python.org<BR><BR>You can reach the person managing the list at<BR>tkinter-discuss-owner@python.org<BR><BR>When replying, please edit your Subject line so it is more specific<BR>than "Re: Contents of Tkinter-discuss digest..."<BR><BR><BR>Today's Topics:<BR><BR>1. Setting the size of a Window (Sajjad Hussain)<BR><BR><BR>----------------------------------------------------------------------<BR><BR>Message: 1<BR>Date: Fri, 26 Aug 2005 07:26:57 -0700 (PDT)<BR>From: Sajjad Hussain <SHUSSAI2@YAHOO.COM><BR>Subject: [Tkinter-discuss] Setting the size of a Window<BR>To:
 tkinter-discuss@python.org<BR>Message-ID: &lt;20050826142657.65562.qmail@web30301.mail.mud.yahoo.com&gt;<BR>Content-Type: text/plain; charset=iso-8859-1<BR><BR>Hi,<BR><BR>I am trying to restrict the user from resizing the Tk<BR>window. (So my labels on the graphics don't get<BR>distorted). Can anyone please point me in the right<BR>direction to do so.<BR><BR>Regards,<BR><BR>Sajjad<BR><BR>__________________________________________________<BR>Do You Yahoo!?<BR>Tired of spam? Yahoo! Mail has the best spam protection around <BR>http://mail.yahoo.com <BR><BR><BR>------------------------------<BR><BR>_______________________________________________<BR>Tkinter-discuss mailing list<BR>Tkinter-discuss@python.org<BR>http://mail.python.org/mailman/listinfo/tkinter-discuss<BR><BR><BR>End of Tkinter-discuss Digest, Vol 18, Issue 2<BR>**********************************************<BR></BLOCKQUOTE><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail
 has the best spam protection around <br>http://mail.yahoo.com