From c3212c158eb6e6c2bfabaf99cdfa1a295c0dd380 Mon Sep 17 00:00:00 2001 From: markm Date: Wed, 19 Apr 2006 20:47:35 +0000 Subject: [PATCH] Updated documentation for 0.3.3 release --- doc_src/HISTORY.TXT | 4 ++-- doc_src/controls_overview.txt | 15 +++++++++++++++ pywinauto/controls/HwndWrapper.py | 16 ++++++---------- 3 files changed, 23 insertions(+), 12 deletions(-) diff --git a/doc_src/HISTORY.TXT b/doc_src/HISTORY.TXT index 132a528..f892e89 100644 --- a/doc_src/HISTORY.TXT +++ b/doc_src/HISTORY.TXT @@ -1,6 +1,6 @@ -0.3.X ???? +0.3.3 Added some methods, and fixed some small bugs ------------------------------------------------------------------ -??-???-2006 +19-Apr-2006 * Added a wait for the control to be active and configurable sleeps after 'modifying' actions (e.g. Select, Deselect, etc) diff --git a/doc_src/controls_overview.txt b/doc_src/controls_overview.txt index 0a40df1..7265445 100644 --- a/doc_src/controls_overview.txt +++ b/doc_src/controls_overview.txt @@ -11,6 +11,7 @@ All Controls * CaptureAsImage_ * Click_ * ClickInput_ + * Close_ * CloseClick_ * DebugMessage_ * DoubleClick_ @@ -18,7 +19,10 @@ All Controls * DragMouse_ * DrawOutline_ * GetFocus_ + * GetShowState_ + * Maximize_ * MenuSelect_ + * Minimize_ * MoveMouse_ * MoveWindow_ * NotifyMenuSelect_ @@ -27,6 +31,7 @@ All Controls * PressMouseInput_ * ReleaseMouse_ * ReleaseMouseInput_ + * Restore_ * RightClick_ * RightClickInput_ * RightClickInput_ @@ -36,6 +41,8 @@ All Controls * SetWindowText_ * TypeKeys_ + + .. _CaptureAsImage: class-pywinauto.controls.HwndWrapper.HwndWrapper.html#CaptureAsImage .. _Click: class-pywinauto.controls.HwndWrapper.HwndWrapper.html#Click .. _ClickInput: class-pywinauto.controls.HwndWrapper.HwndWrapper.html#ClickInput @@ -63,6 +70,14 @@ All Controls .. _SetFocus: class-pywinauto.controls.HwndWrapper.HwndWrapper.html#SetFocus .. _SetWindowText: class-pywinauto.controls.HwndWrapper.HwndWrapper.html#SetWindowText .. _TypeKeys: class-pywinauto.controls.HwndWrapper.HwndWrapper.html#TypeKeys +.. _Close: class-pywinauto.controls.HwndWrapper.HwndWrapper.html#Close +.. _Restore: class-pywinauto.controls.HwndWrapper.HwndWrapper.html#Restore +.. _GetShowState: class-pywinauto.controls.HwndWrapper.HwndWrapper.html#GetShowState +.. _Maximize: class-pywinauto.controls.HwndWrapper.HwndWrapper.html#Maximize +.. _Minimize: class-pywinauto.controls.HwndWrapper.HwndWrapper.html#Minimize + + + * Children_ * Class_ diff --git a/pywinauto/controls/HwndWrapper.py b/pywinauto/controls/HwndWrapper.py index 6cfc514..42fac55 100644 --- a/pywinauto/controls/HwndWrapper.py +++ b/pywinauto/controls/HwndWrapper.py @@ -1212,12 +1212,12 @@ class HwndWrapper(object): Returns a value that is a union of the following - SW_HIDE the window is hidden. - SW_MAXIMIZE the window is maximized - SW_MINIMIZE the window is minimized - SW_RESTORE the window is in the 'restored' - state (neither minimized or maximized) - SW_SHOW The window is not hidden + * SW_HIDE the window is hidden. + * SW_MAXIMIZE the window is maximized + * SW_MINIMIZE the window is minimized + * SW_RESTORE the window is in the 'restored' + state (neither minimized or maximized) + * SW_SHOW The window is not hidden """ wp = win32structures.WINDOWPLACEMENT() @@ -1230,10 +1230,6 @@ class HwndWrapper(object): return wp.showCmd - - - - #----------------------------------------------------------- def GetFocus(self): """Return the control in the process of this window that has the Focus