]>
git.saurik.com Git - wxWidgets.git/blob - interface/position.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: documentation for wxPosition class
4 // Author: wxWidgets team
6 // Licence: wxWindows license
7 /////////////////////////////////////////////////////////////////////////////
13 This class represents the position of an item in any kind of grid of rows and
14 columns such as wxGridBagSizer, or
28 Construct a new wxPosition, optionally setting the row and column. The
29 default value is (0, 0).
32 wxPosition(int row
, int col
);
36 A synonym for GetColumn().
41 Get the current row value.
46 Get the current row value.
54 bool operator ==(const wxPosition
& p
);
55 bool operator !=(const wxPosition
& p
);
56 wxPosition
operator +=(const wxPosition
& p
);
57 wxPosition
operator -=(const wxPosition
& p
);
58 wxPosition
operator +=(const wxSize
& s
);
59 wxPosition
operator -=(const wxSize
& s
);
60 wxPosition
operator +(const wxPosition
& p
);
61 wxPosition
operator -(const wxPosition
& p
);
62 wxPosition
operator +(const wxSize
& s
);
63 wxPosition
operator -(const wxSize
& s
);
67 A synonym for SetColumn().
69 void SetCol(int column
);
72 Set a new column value.
74 void SetColumn(int column
);