]>
Commit | Line | Data |
---|---|---|
20b35a69 RD |
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 | \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 | ||
24 | Construct a new wxGBSpan, optionally setting the rowspan and colspan. | |
25 | The default is (1,1). (Meaning that the item occupies one cell in | |
26 | each direction. | |
27 | ||
28 | ||
29 | \membersection{wxGBSpan::GetColspan}\label{wxgbspangetcolspan} | |
30 | ||
31 | \constfunc{int}{GetColspan}{\void} | |
32 | ||
33 | Get the current colspan value. | |
34 | ||
35 | ||
36 | \membersection{wxGBSpan::GetRowspan}\label{wxgbspangetrowspan} | |
37 | ||
38 | \constfunc{int}{GetRowspan}{\void} | |
39 | ||
40 | Get the current rowspan value. | |
41 | ||
42 | ||
43 | \membersection{wxGBSpan::SetColspan}\label{wxgbspansetcolspan} | |
44 | ||
45 | \func{void}{SetColspan}{\param{int }{colspan}} | |
46 | ||
47 | Set a new colspan value. | |
48 | ||
49 | ||
50 | \membersection{wxGBSpan::SetRowspan}\label{wxgbspansetrowspan} | |
51 | ||
52 | \func{void}{SetRowspan}{\param{int }{rowspan}} | |
53 | ||
54 | Set a new rowspan value. | |
55 | ||
56 | ||
57 | \membersection{wxGBSpan::operator!}\label{wxgbspanoperatorunknown} | |
58 | ||
59 | \constfunc{bool}{operator!}{\param{const wxGBSpan\& }{o}} | |
60 | ||
61 | Is 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 | ||
68 | Compare equality of two wxGBSpans. |