]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/gbposition.tex
Patches-1851591 ] dataview sample is crashing (under MSW)
[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 \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
27 Construct a new wxGBPosition, optionally setting the row and column.
28 The default is (0,0).
29
30 \membersection{wxGBPosition::GetCol}\label{wxgbpositiongetcol}
31
32 \constfunc{int}{GetCol}{\void}
33
34 Get the current column value.
35
36 \membersection{wxGBPosition::GetRow}\label{wxgbpositiongetrow}
37
38 \constfunc{int}{GetRow}{\void}
39
40 Get the current row value.
41
42 \membersection{wxGBPosition::SetCol}\label{wxgbpositionsetcol}
43
44 \func{void}{SetCol}{\param{int }{col}}
45
46 Set a new column value.
47
48 \membersection{wxGBPosition::SetRow}\label{wxgbpositionsetrow}
49
50 \func{void}{SetRow}{\param{int }{row}}
51
52 Set a new row value.
53
54 \membersection{wxGBPosition::operator!}\label{wxgbpositionoperatorunknown}
55
56 \constfunc{bool}{operator!}{\param{const wxGBPosition\& }{p}}
57
58 Is 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
64 Compare equality of two wxGBPositions.
65