📄 api.txt
字号:
This file outlines the commands that are available toa writer of a snscenario regression test script. Thestandard Tcl commands are available. In addition,a number of custom commands are provided. You will also want to take a look at ../eventutils/API.txtfor a listing of the event related APIs that are available.--------------------------------------------------next_toplevelThis command takes no arguments and returns thenext toplevel to appear in the Source-Navigatorapplication. If no toplevel is currently visibleor you have already retreived all the names ofthe current toplevels, the next_toplevel commandwill block until a new toplevel appears.FIXME: Add something about a timeout?Example: Query for next toplevel and then close it.set top [next_toplevel]close_toplevel $top--------------------------------------------------async { args }This commands takes any number of arguments andevaluates them as an asyncronous command. Thisis useful if the result of the command invocationwould block the caller. If the remote interpblocks a remote command sent by the snscenarioapplication, then no more events could be sentby snscenario because it would be waiting forthe RPC to return. Source-Navigator uses lotsof blocking dialog windows, so you would mostlikely use the async command with one of those.Example: Async button pressset top [next_toplevel]set button $top.openasync mouse_click $button--------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -