mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 06:33:56 +00:00
Add StopEvent
This commit is contained in:
parent
f927b52279
commit
17fda726b0
5
doc.md
5
doc.md
@ -48,6 +48,7 @@
|
||||
|
||||
#####[LEvent](#LEvent)(Equivalent to AddEvent,Wno-deprecated)
|
||||
#####[AddEvent](#AddEvent)
|
||||
#####[StopEvent](#StopEvent)
|
||||
|
||||
##[Window](#Window)
|
||||
This is a work in progress.
|
||||
@ -406,7 +407,9 @@ func main() {
|
||||
Println("you press...", "mouse left button")
|
||||
}
|
||||
}
|
||||
```
|
||||
```
|
||||
###<h3 id="StopEvent">.StopEvent()</h3>
|
||||
stop listen global event
|
||||
|
||||
##<h2 id="Window">Window</h2>
|
||||
|
||||
|
@ -48,6 +48,7 @@
|
||||
|
||||
#####[LEvent](#AddEvent)(相当于AddEvent,Wno-deprecated)
|
||||
#####[AddEvent](#AddEvent)
|
||||
#####[StopEvent](#StopEvent)
|
||||
|
||||
##[窗口](#Window)
|
||||
This is a work in progress.
|
||||
@ -421,6 +422,9 @@ func main() {
|
||||
}
|
||||
```
|
||||
|
||||
###<h3 id="StopEvent">.StopEvent()</h3>
|
||||
停止事件监听
|
||||
|
||||
##<h2 id="Window">窗口</h2>
|
||||
|
||||
###<h3 id="ShowAlert">.ShowAlert(title, msg,defaultButton,cancelButton string)</h3>
|
||||
|
@ -626,6 +626,11 @@ func AddEvent(aeve string) int {
|
||||
return geve
|
||||
}
|
||||
|
||||
//StopEvent Stop Event
|
||||
func StopEvent() {
|
||||
C.aStop()
|
||||
}
|
||||
|
||||
//LEvent Add Event
|
||||
func LEvent(aeve string) int {
|
||||
cs := C.CString(aeve)
|
||||
|
Loading…
Reference in New Issue
Block a user