From 38260cced8dea91c4ab3955cae8c3b2179a12a16 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 24 Mar 2005 16:48:04 +0000 Subject: [PATCH] docstring update git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_sizers.i | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wxPython/src/_sizers.i b/wxPython/src/_sizers.i index 526a646c88..3d2bd525ae 100644 --- a/wxPython/src/_sizers.i +++ b/wxPython/src/_sizers.i @@ -364,6 +364,12 @@ standard font as well as the overall design of Mac widgets requires more space than on Windows, then the initial size of a dialog using a sizer will automatically be bigger on Mac than on Windows.", " +Sizers may also be used to control the layout of custom drawn items on +the window. The `Add`, `Insert`, and `Prepend` functions return a +pointer to the newly added `wx.SizerItem`. Just add empty space of the +desired size and attributes, and then use the `wx.SizerItem.GetRect` +method to determine where the drawing operations should take place. + :note: If you wish to create a custom sizer class in wxPython you should derive the class from `wx.PySizer` in order to get Python-aware capabilities for the various virtual methods. -- 2.45.2