]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/gbspan.tex
Set m_rows, m_cols so GetRows/GetCols in the base class work. Added
[wxWidgets.git] / docs / latex / wx / gbspan.tex
CommitLineData
20b35a69
RD
1
2\section{\class{wxGBSpan}}\label{wxgbspan}
3
4This class is used to hold the row and column spanning attributes of
5items in 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{wxGBSpan::wxGBSpan}\label{wxgbspanwxgbspan}
19
20\func{}{wxGBSpan}{\void}
21
22\func{}{wxGBSpan}{\param{int }{rowspan}, \param{int }{colspan}}
23
24Construct a new wxGBSpan, optionally setting the rowspan and colspan.
25The default is (1,1). (Meaning that the item occupies one cell in
26each direction.
27
28
29\membersection{wxGBSpan::GetColspan}\label{wxgbspangetcolspan}
30
31\constfunc{int}{GetColspan}{\void}
32
33Get the current colspan value.
34
35
36\membersection{wxGBSpan::GetRowspan}\label{wxgbspangetrowspan}
37
38\constfunc{int}{GetRowspan}{\void}
39
40Get the current rowspan value.
41
42
43\membersection{wxGBSpan::SetColspan}\label{wxgbspansetcolspan}
44
45\func{void}{SetColspan}{\param{int }{colspan}}
46
47Set a new colspan value.
48
49
50\membersection{wxGBSpan::SetRowspan}\label{wxgbspansetrowspan}
51
52\func{void}{SetRowspan}{\param{int }{rowspan}}
53
54Set a new rowspan value.
55
56
57\membersection{wxGBSpan::operator!}\label{wxgbspanoperatorunknown}
58
59\constfunc{bool}{operator!}{\param{const wxGBSpan\& }{o}}
60
61Is the wxGBSpan valid? (An invalid wxGBPosition is (-1,-1). )
62
63
64\membersection{wxGBSpan::operator==}\label{wxgbspanoperatorequal}
65
66\constfunc{bool operator}{operator==}{\param{const wxGBSpan\& }{o}}
67
68Compare equality of two wxGBSpans.