[vtkusers] Re: Any method to fixup the renderwindows's size?

Goodwin Lawlor goodwin.lawlor at ucd.ie
Wed May 10 14:30:55 EDT 2006


liujia wrote:
> Hi, all
> 
>          I want to create a window without minimize or maximize button 
> in tcl. And it can not be reshaped by mouse.
> 
>          I think it’s simple, but there is not any example about that I 
> can find.

Hi Jia Liu,

This is really a question for comp.lang.tcl but try:

wm resizable . 0 0

to make the window un-resizable

wm overrideredirect . 1

to take away all window decoration. Maybe you really want this instead 
(windows only though):

wm attribute . -toolwindow 1

which just leaves you with a close button on a smaller title bar.


hth


Goodwin




More information about the vtkusers mailing list