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