[Tutor] how to disable MIN,MAX and CLOSE options using tkinter

Alan Gauld alan.gauld at btinternet.com
Sat Jan 12 18:18:11 CET 2008


"Evans Anyokwu" <fiveholiday55 at hotmail.com> wrote

> I remember Alan answering this question yesterday.

To be fair it was a slightly different question but the principles 
are the same.

These things are controlled by the Window Manager 
or the OS or the GUI system depending on the platform.

On X you can communicate with the Window Manager
(and Tkinter lets you ask which it is) and on Windows 
you can use the Win32 API via ctypes to set the icons.

I assume on MacOs you would use Cocoa from MacPython.

HTH,

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld



More information about the Tutor mailing list