[wxPython-users] Re: Make form only resizable horizontally?

Robin Dunn robin at alldunn.com
Wed Jan 9 15:16:28 PST 2008


Kelie wrote:
> Kelie <kf9150 <at> gmail.com> writes:
> 
>> Where do i put minH and maxH? Does wx.Frame have minH/maxH property? I didn't
>> find it on this page: http://wxpython.org/docs/api/frames.html
>>
> 
> Never mind. I found the answer from wxWidgets reference. The syntax should be 
> self.SetSizeHints(minW, minH, maxH) where self is the frame.  Thanks.

Here it is in the wxPython docs too: 
http://wxpython.org/docs/api/wx.Window-class.html#SetSizeHints

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!




More information about the wxpython-users mailing list