Doc mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -377,8 +377,8 @@ Ends a document page (only relevant when outputting to a printer).
|
||||
|
||||
\func{void}{FloodFill}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{const wxColour\&}{ colour}, \param{int}{ style=wxFLOOD\_SURFACE}}
|
||||
|
||||
Flood fills the device context starting from the given point, in the given colour,
|
||||
and using a style:
|
||||
Flood fills the device context starting from the given point, using
|
||||
the {\it current brush colour}, and using a style:
|
||||
|
||||
\begin{itemize}\itemsep=0pt
|
||||
\item wxFLOOD\_SURFACE: the flooding occurs until a colour other than the given colour is encountered.
|
||||
|
@@ -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}
|
||||
|
Reference in New Issue
Block a user