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