[PyCrust-cvs] PyCrust/wxd Sizers.py,1.3,1.4
Brought to you by:
pobrien
From: <po...@us...> - 2003-03-25 20:24:38
|
Update of /cvsroot/pycrust/PyCrust/wxd In directory sc8-pr-cvs1:/tmp/cvs-serv7428 Modified Files: Sizers.py Log Message: New signatures. Index: Sizers.py =================================================================== RCS file: /cvsroot/pycrust/PyCrust/wxd/Sizers.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Sizers.py 22 Mar 2003 20:19:24 -0000 1.3 --- Sizers.py 25 Mar 2003 20:24:28 -0000 1.4 *************** *** 1,3 **** --- 1,34 ---- """Decorator classes for documentation and shell scripting. + + Sizer is the abstract base class used for laying out subwindows in a + window. You cannot use Sizer directly; instead, you will have to use + one of the sizer classes derived from it. Currently there are + BoxSizer, StaticBoxSizer, NotebookSizer, GridSizer, and FlexGridSizer. + + The layout algorithm used by sizers in wxPython is closely related to + layout in other GUI toolkits, such as Java's AWT, the GTK toolkit or [...1006 lines suppressed...] + """Set a floating point aspect ratio (width/height). If + wx.SHAPED flag is used item will maintain ratio when resized.""" + pass ! def SetRatioWH(self, width, height): ! """Set a floating point aspect ratio (width/height). If ! wx.SHAPED flag is used item will maintain ratio when resized.""" pass ! def SetSizer(self, sizer): ! """Set sizer associated with SizerItem.""" pass ! def SetWindow(self, window): ! """Set window associated with SizerItem.""" pass ! def Show(self, show): ! """Is show is True, show item, otherwise hide item.""" pass |