gbspan.tex

来自「Wxpython Implemented on Windows CE, Sou」· TEX 代码 · 共 63 行

TEX
63
字号

\section{\class{wxGBSpan}}\label{wxgbspan}

This class is used to hold the row and column spanning attributes of
items in a \helpref{wxGridBagSizer}{wxgridbagsizer}.

\wxheading{Derived from}

No base class

\wxheading{Include files}

<wx/gbsizer.h>

\latexignore{\rtfignore{\wxheading{Members}}}

\membersection{wxGBSpan::wxGBSpan}\label{wxgbspanwxgbspan}

\func{}{wxGBSpan}{\void}

\func{}{wxGBSpan}{\param{int }{rowspan}, \param{int }{colspan}}

Construct a new wxGBSpan, optionally setting the rowspan and colspan.
The default is (1,1).  (Meaning that the item occupies one cell in
each direction.

\membersection{wxGBSpan::GetColspan}\label{wxgbspangetcolspan}

\constfunc{int}{GetColspan}{\void}

Get the current colspan value.

\membersection{wxGBSpan::GetRowspan}\label{wxgbspangetrowspan}

\constfunc{int}{GetRowspan}{\void}

Get the current rowspan value.

\membersection{wxGBSpan::SetColspan}\label{wxgbspansetcolspan}

\func{void}{SetColspan}{\param{int }{colspan}}

Set a new colspan value.

\membersection{wxGBSpan::SetRowspan}\label{wxgbspansetrowspan}

\func{void}{SetRowspan}{\param{int }{rowspan}}

Set a new rowspan value.

\membersection{wxGBSpan::operator!}\label{wxgbspanoperatorunknown}

\constfunc{bool}{operator!}{\param{const wxGBSpan\& }{o}}

Is the wxGBSpan valid?  (An invalid wxGBSpan is (-1,-1). )

\membersection{wxGBSpan::operator==}\label{wxgbspanoperatorequal}

\constfunc{bool operator}{operator==}{\param{const wxGBSpan\& }{o}}

Compare equality of two wxGBSpans.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?