preventing a window from being resized

Hi

Sorry if this question is trivial, but I'm a complete newbie (both python
and wxpython)....

Is there a way to prevent windows from being resized (both gtk and windows)?

thanx

···

--
Haim

Haim Ashkenazi wrote:

Is there a way to prevent windows from being resized (both gtk and windows)?

Yes. Use wxWindow.SetSizeHints()

Set both the min and max to the current size, and it can't be re-sized.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Chris Barker wrote:

Haim Ashkenazi wrote:

Is there a way to prevent windows from being resized (both gtk and
windows)?

Yes. Use wxWindow.SetSizeHints()

Set both the min and max to the current size, and it can't be re-sized.

thanx

···

--
Haim