I realize know that you want to query the capabilities of your display drivers,
tk can't help you there (you can't change resolution with Tk).
You'll have to resort to platform specific calls (Win32::API on windows, etc...) or maybe OpenGL, SDL... sorry
MJDsays "you can't just make shit up and expect the computer to know what you mean, retardo!"