diff --git a/doc.md b/doc.md index 83888e4..147a22b 100644 --- a/doc.md +++ b/doc.md @@ -46,6 +46,11 @@ This is a work in progress. #####[ShowAlert(support linux as soon as possible)](#ShowAlert) +#####[CloseWindow](#CloseWindow) +#####[IsValid](#IsValid) +#####[GetActive](#GetActive) +#####[GetHandle](#GetHandle) +#####[GetTitle](#GetTitle) ##<h2 id="Keyboard">Keyboard</h2> @@ -389,4 +394,55 @@ func main() { ####Return: Returns 0(True) if the default button was pressed, or 1(False) if cancelled. + +###<h3 id="CloseWindow">.CloseWindow()</h3> + + Close the Window + +####Arguments: + + +####Return: + + +###<h3 id="IsValid">.IsValid()</h3> + + Valid the Window + +####Arguments: + + +####Return: + Returns true if a window has been selected + + +###<h3 id="GetActive">.GetActive()</h3> + + Get the Active Window + +####Arguments: + + +####Return: + Returns hwnd + +###<h3 id="GetHandle">.GetHandle()</h3> + + Get the Window Handle + +####Arguments: + + +####Return: + Returns hwnd + +###<h3 id="GetTitle">.GetTitle()</h3> + + Get the Window Title + +####Arguments: + + +####Return: + Returns Window Title diff --git a/zh_doc.md b/zh_doc.md index c902a3e..74e3787 100644 --- a/zh_doc.md +++ b/zh_doc.md @@ -46,6 +46,11 @@ This is a work in progress. #####[ShowAlert(support linux as soon as possible)](#ShowAlert) +#####[CloseWindow](#CloseWindow) +#####[IsValid](#IsValid) +#####[GetActive](#GetActive) +#####[GetHandle](#GetHandle) +#####[GetTitle](#GetTitle) ##<h2 id="Keyboard">键盘</h2> @@ -403,4 +408,54 @@ func main() { ####Return: Returns 0(True) if the default button was pressed, or 1(False) if cancelled. - \ No newline at end of file + +###<h3 id="CloseWindow">.CloseWindow()</h3> + + Close the Window + +####Arguments: + + +####Return: + + +###<h3 id="IsValid">.IsValid()</h3> + + Valid the Window + +####Arguments: + + +####Return: + Returns true if a window has been selected + + +###<h3 id="GetActive">.GetActive()</h3> + + Get the Active Window + +####Arguments: + + +####Return: + Returns hwnd + +###<h3 id="GetHandle">.GetHandle()</h3> + + Get the Window Handle + +####Arguments: + + +####Return: + Returns hwnd + +###<h3 id="GetTitle">.GetTitle()</h3> + + Get the Window Title + +####Arguments: + + +####Return: + Returns Window Title \ No newline at end of file