]>
Commit | Line | Data |
---|---|---|
20b35a69 RD |
1 | |
2 | \section{\class{wxGBPosition}}\label{wxgbposition} | |
3 | ||
4 | This class represents the position of an item in a virtual grid of | |
5 | rows and columns managed by a \helpref{wxGridBagSizer}{wxgridbagsizer}. | |
6 | ||
7 | \wxheading{Derived from} | |
8 | ||
9 | No base class | |
10 | ||
11 | \wxheading{Include files} | |
12 | ||
13 | <wx/gbsizer.h> | |
14 | ||
15 | \latexignore{\rtfignore{\wxheading{Members}}} | |
16 | ||
17 | ||
18 | \membersection{wxGBPosition::wxGBPosition}\label{wxgbpositionwxgbposition} | |
19 | ||
20 | \func{}{wxGBPosition}{\void} | |
21 | ||
22 | \func{}{wxGBPosition}{\param{int }{row}, \param{int }{col}} | |
23 | ||
24 | Construct a new wxGBPosition, optionally setting the row and column. | |
25 | The default is (0,0). | |
26 | ||
27 | ||
28 | \membersection{wxGBPosition::GetCol}\label{wxgbpositiongetcol} | |
29 | ||
30 | \constfunc{int}{GetCol}{\void} | |
31 | ||
32 | Get the current column value. | |
33 | ||
34 | \membersection{wxGBPosition::GetRow}\label{wxgbpositiongetrow} | |
35 | ||
36 | \constfunc{int}{GetRow}{\void} | |
37 | ||
38 | Get the current row value. | |
39 | ||
40 | \membersection{wxGBPosition::SetCol}\label{wxgbpositionsetcol} | |
41 | ||
42 | \func{void}{SetCol}{\param{int }{col}} | |
43 | ||
44 | Set a new column value. | |
45 | ||
46 | \membersection{wxGBPosition::SetRow}\label{wxgbpositionsetrow} | |
47 | ||
48 | \func{void}{SetRow}{\param{int }{row}} | |
49 | ||
50 | Set a new row value. | |
51 | ||
52 | \membersection{wxGBPosition::operator!}\label{wxgbpositionoperatorunknown} | |
53 | ||
54 | \constfunc{bool}{operator!}{\param{const wxGBPosition\& }{p}} | |
55 | ||
56 | Is the wxGBPosition valid? (An invalid wxGBPosition is (-1,-1). ) | |
57 | ||
58 | ||
59 | \membersection{wxGBPosition::operator==}\label{wxgbpositionoperatorequal} | |
60 | ||
61 | \constfunc{bool operator}{operator==}{\param{const wxGBPosition\& }{p}} | |
62 | ||
63 | Compare equality of two wxGBPositions. | |
64 |