git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-08-20 19:56:24 +00:00
parent b0f1bf1c51
commit 15770d1a1c
2 changed files with 25 additions and 23 deletions

View File

@@ -640,27 +640,6 @@ the button text. This function can be useful for meta-programs (such as testing
tools or special-needs access programs) which need to identify windows
by name.
\membersection{wxWindow::GetPosition}
\constfunc{virtual void}{GetPosition}{\param{int* }{x}, \param{int* }{y}}
This gets the position of the window in pixels, relative to the parent window or
if no parent, relative to the whole display.
\wxheading{Parameters}
\docparam{x}{Receives the x position of the window.}
\docparam{y}{Receives the y position of the window.}
\pythonnote{In place of a single overloaded method name, wxPython
implements the following methods:\par
\indented{2cm}{\begin{twocollist}
\twocolitem{{\bf GetPosition()}}{Returns a wxPoint}
\twocolitem{{\bf GetPositionTuple()}}{Returns a tuple (x, y)}
\end{twocollist}}
}
\membersection{wxWindow::GetName}\label{wxwindowgetname}
\constfunc{virtual wxString }{GetName}{\void}
@@ -682,6 +661,29 @@ name in the window constructor or via \helpref{wxWindow::SetName}{wxwindowsetnam
Returns the parent of the window, or NULL if there is no parent.
\membersection{wxWindow::GetPosition}\label{wxwindowgetposition}
\constfunc{virtual void}{GetPosition}{\param{int* }{x}, \param{int* }{y}}
\constfunc{wxPoint}{GetPosition}{\void}
This gets the position of the window in pixels, relative to the parent window or
if no parent, relative to the whole display.
\wxheading{Parameters}
\docparam{x}{Receives the x position of the window.}
\docparam{y}{Receives the y position of the window.}
\pythonnote{In place of a single overloaded method name, wxPython
implements the following methods:\par
\indented{2cm}{\begin{twocollist}
\twocolitem{{\bf GetPosition()}}{Returns a wxPoint}
\twocolitem{{\bf GetPositionTuple()}}{Returns a tuple (x, y)}
\end{twocollist}}
}
\membersection{wxWindow::GetRect}\label{wxwindowgetrect}
\constfunc{virtual wxRect}{GetRect}{\void}