]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/gbposition.tex
Add newline at end - necessary for PDF
[wxWidgets.git] / docs / latex / wx / gbposition.tex
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 \membersection{wxGBPosition::wxGBPosition}\label{wxgbpositionwxgbposition}
18
19 \func{}{wxGBPosition}{\void}
20
21 \func{}{wxGBPosition}{\param{int }{row}, \param{int }{col}}
22
23 Construct a new wxGBPosition, optionally setting the row and column.
24 The default is (0,0).
25
26 \membersection{wxGBPosition::GetCol}\label{wxgbpositiongetcol}
27
28 \constfunc{int}{GetCol}{\void}
29
30 Get the current column value.
31
32 \membersection{wxGBPosition::GetRow}\label{wxgbpositiongetrow}
33
34 \constfunc{int}{GetRow}{\void}
35
36 Get the current row value.
37
38 \membersection{wxGBPosition::SetCol}\label{wxgbpositionsetcol}
39
40 \func{void}{SetCol}{\param{int }{col}}
41
42 Set a new column value.
43
44 \membersection{wxGBPosition::SetRow}\label{wxgbpositionsetrow}
45
46 \func{void}{SetRow}{\param{int }{row}}
47
48 Set a new row value.
49
50 \membersection{wxGBPosition::operator!}\label{wxgbpositionoperatorunknown}
51
52 \constfunc{bool}{operator!}{\param{const wxGBPosition\& }{p}}
53
54 Is the wxGBPosition valid? (An invalid wxGBPosition is (-1,-1). )
55
56 \membersection{wxGBPosition::operator==}\label{wxgbpositionoperatorequal}
57
58 \constfunc{bool operator}{operator==}{\param{const wxGBPosition\& }{p}}
59
60 Compare equality of two wxGBPositions.
61