Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/AirtestProject/Poco
/ set_foreground
Method
set_foreground
poco/drivers/windows/windowsui_poco.py:57–58 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
55
56
@sync_wrapper
57
def
set_foreground(self):
58
return
self.agent.rpc.call(
"SetForeground"
)
59
60
def
scroll(self, direction=
'vertical'
, percent=1, duration=2.0):
61
# 重写Win下的Scroll函数,percent代表滑动滚轮多少次,正数为向上滑,负数为向下滑,direction无用,只能上下滚
Callers
nothing calls this directly
Calls
1
call
Method · 0.45
Tested by
no test coverage detected