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