From 8e46bc00fe331f4eebb65d088164b943135ba0c1 Mon Sep 17 00:00:00 2001 From: vCaesar Date: Thu, 10 Nov 2016 19:17:34 +0800 Subject: [PATCH] Update doc --- doc.md | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ zh_doc.md | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 112 insertions(+), 1 deletion(-) 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) ##

Keyboard

@@ -389,4 +394,55 @@ func main() { ####Return: Returns 0(True) if the default button was pressed, or 1(False) if cancelled. + +###

.CloseWindow()

+ + Close the Window + +####Arguments: + + +####Return: + + +###

.IsValid()

+ + Valid the Window + +####Arguments: + + +####Return: + Returns true if a window has been selected + + +###

.GetActive()

+ + Get the Active Window + +####Arguments: + + +####Return: + Returns hwnd + +###

.GetHandle()

+ + Get the Window Handle + +####Arguments: + + +####Return: + Returns hwnd + +###

.GetTitle()

+ + 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) ##

键盘

@@ -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 + +###

.CloseWindow()

+ + Close the Window + +####Arguments: + + +####Return: + + +###

.IsValid()

+ + Valid the Window + +####Arguments: + + +####Return: + Returns true if a window has been selected + + +###

.GetActive()

+ + Get the Active Window + +####Arguments: + + +####Return: + Returns hwnd + +###

.GetHandle()

+ + Get the Window Handle + +####Arguments: + + +####Return: + Returns hwnd + +###

.GetTitle()

+ + Get the Window Title + +####Arguments: + + +####Return: + Returns Window Title \ No newline at end of file