]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/gbposition.tex
Documented new constructor and overloaded Create methods.
[wxWidgets.git] / docs / latex / wx / gbposition.tex
CommitLineData
20b35a69
RD
1
2\section{\class{wxGBPosition}}\label{wxgbposition}
3
4This class represents the position of an item in a virtual grid of
5rows and columns managed by a \helpref{wxGridBagSizer}{wxgridbagsizer}.
6
7\wxheading{Derived from}
8
9No 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
24Construct a new wxGBPosition, optionally setting the row and column.
25The default is (0,0).
26
27
28\membersection{wxGBPosition::GetCol}\label{wxgbpositiongetcol}
29
30\constfunc{int}{GetCol}{\void}
31
32Get the current column value.
33
34\membersection{wxGBPosition::GetRow}\label{wxgbpositiongetrow}
35
36\constfunc{int}{GetRow}{\void}
37
38Get the current row value.
39
40\membersection{wxGBPosition::SetCol}\label{wxgbpositionsetcol}
41
42\func{void}{SetCol}{\param{int }{col}}
43
44Set a new column value.
45
46\membersection{wxGBPosition::SetRow}\label{wxgbpositionsetrow}
47
48\func{void}{SetRow}{\param{int }{row}}
49
50Set a new row value.
51
52\membersection{wxGBPosition::operator!}\label{wxgbpositionoperatorunknown}
53
54\constfunc{bool}{operator!}{\param{const wxGBPosition\& }{p}}
55
56Is 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
63Compare equality of two wxGBPositions.
64