.\" This is a wxWidgets manpage page generated from the XML docs .TH wxGBSizerItem 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxGBSizerItem \- .SH DESCRIPTION The wxGBSizerItem class is used by the wxGridBagSizer for tracking the items in the sizer. It adds grid position and spanning information to the normal wxSizerItem by adding wxGBPosition and wxGBSpan attrbibutes. Most of the time you will not need to use a wxGBSizerItem directly in your code, but there are a couple of cases where it is handy. .SH "PARENTS" wxSizerItem .SH "INCLUDE FILES" wx/gbsizer.h .SH MEMBERS .SS wxGBSizerItem (int widthint heightconst wxGBPosition& posconst wxGBSpan& spanint flagint borderwxObject* userData) Construct a sizer item for tracking a spacer. .SS wxGBSizerItem (wxWindow* windowconst wxGBPosition& posconst wxGBSpan& spanint flagint borderwxObject* userData) Construct a sizer item for tracking a window. .SS wxGBSizerItem (wxSizer* sizerconst wxGBPosition& posconst wxGBSpan& spanint flagint borderwxObject* userData) Construct a sizer item for tracking a subsizer. .SS void GetEndPos (int& rowint& col) Get the row and column of the endpoint of this item .SS wxGBPosition GetPos () .SS void GetPos (int& rowint& col) Get the grid position of the item. .SS wxGBSpan GetSpan () .SS void GetSpan (int& rowspanint& colspan) Get the row and column spanning of the item. .SS bool Intersects (const wxGBSizerItem& other) Returns true if this item and the other item instersect .SS bool Intersects (const wxGBPosition& posconst wxGBSpan& span) Returns true if the given pos/span would intersect with this item. .SS bool SetPos (const wxGBPosition& pos) If the item is already a member of a sizer then first ensure that there is no other item that would intersect with this one at the new position, then set the new position. Returns true if the change is successful and after the next Layout the item will be moved. .SS bool SetSpan (const wxGBSpan& span) If the item is already a member of a sizer then first ensure that there is no other item that would intersect with this one with its new spanning size, then set the new spanning. Returns true if the change is successful and after the next Layout the item will be resized. .SH "SEE ALSO" wxSizerItem .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.