added GetScreenPosition/Rect() which always return the screen coordinates of the window (for child windows and TLWs alike)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1111,9 +1111,9 @@ windows.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{x}{Receives the x position of the window.}
|
||||
\docparam{x}{Receives the x position of the window if non-\NULL.}
|
||||
|
||||
\docparam{y}{Receives the y position of the window.}
|
||||
\docparam{y}{Receives the y position of the window if non-\NULL.}
|
||||
|
||||
\pythonnote{In place of a single overloaded method name, wxPython
|
||||
implements the following methods:\par
|
||||
@@ -1133,12 +1133,53 @@ method:\par
|
||||
}}
|
||||
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{GetScreenPosition}{wxwindowgetscreenposition}
|
||||
|
||||
|
||||
\membersection{wxWindow::GetRect}\label{wxwindowgetrect}
|
||||
|
||||
\constfunc{virtual wxRect}{GetRect}{\void}
|
||||
|
||||
Returns the size and position of the window as a \helpref{wxRect}{wxrect} object.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{GetScreenRect}{wxwindowgetscreenrect}
|
||||
|
||||
|
||||
\membersection{wxWindow::GetScreenPosition}\label{wxwindowgetscreenposition}
|
||||
|
||||
\constfunc{virtual void}{GetScreenPosition}{\param{int* }{x}, \param{int* }{y}}
|
||||
|
||||
\constfunc{wxPoint}{GetScreenPosition}{\void}
|
||||
|
||||
Returns the window position in screen coordinates, whether the window is a
|
||||
child window or a top level one.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{x}{Receives the x position of the window on the screen if non-\NULL.}
|
||||
|
||||
\docparam{y}{Receives the y position of the window on the screen if non-\NULL.}
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{GetPosition}{wxwindowgetposition}
|
||||
|
||||
|
||||
\membersection{wxWindow::GetScreenRect}\label{wxwindowgetscreenrect}
|
||||
|
||||
\constfunc{virtual wxRect}{GetScreenRect}{\void}
|
||||
|
||||
Returns the size and position of the window on the screen as a
|
||||
\helpref{wxRect}{wxrect} object.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{GetRect}{wxwindowgetrect}
|
||||
|
||||
|
||||
\membersection{wxWindow::GetScrollPos}\label{wxwindowgetscrollpos}
|
||||
|
||||
|
Reference in New Issue
Block a user