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