20b35a6916
specified and row/col spanning is allowed. Updated docs, the layout sample, files.bkl, and updated makefiles. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
65 lines
1.5 KiB
TeX
65 lines
1.5 KiB
TeX
|
|
\section{\class{wxGBPosition}}\label{wxgbposition}
|
|
|
|
This class represents the position of an item in a virtual grid of
|
|
rows and columns managed by a \helpref{wxGridBagSizer}{wxgridbagsizer}.
|
|
|
|
\wxheading{Derived from}
|
|
|
|
No base class
|
|
|
|
\wxheading{Include files}
|
|
|
|
<wx/gbsizer.h>
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
|
\membersection{wxGBPosition::wxGBPosition}\label{wxgbpositionwxgbposition}
|
|
|
|
\func{}{wxGBPosition}{\void}
|
|
|
|
\func{}{wxGBPosition}{\param{int }{row}, \param{int }{col}}
|
|
|
|
Construct a new wxGBPosition, optionally setting the row and column.
|
|
The default is (0,0).
|
|
|
|
|
|
\membersection{wxGBPosition::GetCol}\label{wxgbpositiongetcol}
|
|
|
|
\constfunc{int}{GetCol}{\void}
|
|
|
|
Get the current column value.
|
|
|
|
\membersection{wxGBPosition::GetRow}\label{wxgbpositiongetrow}
|
|
|
|
\constfunc{int}{GetRow}{\void}
|
|
|
|
Get the current row value.
|
|
|
|
\membersection{wxGBPosition::SetCol}\label{wxgbpositionsetcol}
|
|
|
|
\func{void}{SetCol}{\param{int }{col}}
|
|
|
|
Set a new column value.
|
|
|
|
\membersection{wxGBPosition::SetRow}\label{wxgbpositionsetrow}
|
|
|
|
\func{void}{SetRow}{\param{int }{row}}
|
|
|
|
Set a new row value.
|
|
|
|
\membersection{wxGBPosition::operator!}\label{wxgbpositionoperatorunknown}
|
|
|
|
\constfunc{bool}{operator!}{\param{const wxGBPosition\& }{p}}
|
|
|
|
Is the wxGBPosition valid? (An invalid wxGBPosition is (-1,-1). )
|
|
|
|
|
|
\membersection{wxGBPosition::operator==}\label{wxgbpositionoperatorequal}
|
|
|
|
\constfunc{bool operator}{operator==}{\param{const wxGBPosition\& }{p}}
|
|
|
|
Compare equality of two wxGBPositions.
|
|
|