|
1 | | -# window (object) |
| 1 | +# Api index |
2 | 2 |
|
3 | | -Table of contents: |
4 | | -* [Methods](#methods) |
| 3 | +* [window(object)-Methods](#methods) |
5 | 4 | * [wkeCreateWebWindow](#wkeCreateWebWindow) |
6 | 5 | * [wkeShowWindow](#wkeShowWindow) |
7 | 6 | * [wkeCreateWebView](#wkeCreateWebView) |
@@ -33,7 +32,17 @@ Table of contents: |
33 | 32 | * [wkeSetTouchEnabled](#wkeSetTouchEnabled) |
34 | 33 | * [simulate_device](#simulate_device) |
35 | 34 | * [bind_window](#bind_window) |
| 35 | +* [pyrunjs(object)-Methods](#methods) |
| 36 | + * [run_js](#run_js) |
| 37 | + * [run_js_file](#run_js_file) |
| 38 | + * [run_js_byframe](#run_js_byframe) |
| 39 | + * [run_js_global](#run_js_global) |
| 40 | +* [proxy(object)-Methods](#methods) |
| 41 | + * [wkeSetProxy](#wkeSetProxy) |
| 42 | + * [wkeSetViewProxy](#wkeSetViewProxy) |
| 43 | + |
36 | 44 | ## Methods |
| 45 | + |
37 | 46 | ### wkeCreateWebWindow |
38 | 47 |
|
39 | 48 | | Parameter | Type | description |
@@ -302,4 +311,63 @@ If you want to use flash must ues this method |
302 | 311 | | --- | --- | --- | |
303 | 312 | | hwnd | int | -- | |
304 | 313 | | _bool | bool | -- | |
305 | | -| __Return__ | int | webview | |
| 314 | +| __Return__ | int | webview | |
| 315 | + |
| 316 | +### run_js |
| 317 | + |
| 318 | +| Parameter | Type | description |
| 319 | +| --- | --- | --- | |
| 320 | +| webview | int | -- | |
| 321 | +| js_code | string | -- | |
| 322 | +| __Return__ | string | -- | |
| 323 | + |
| 324 | +### run_js_file |
| 325 | + |
| 326 | +| Parameter | Type | description |
| 327 | +| --- | --- | --- | |
| 328 | +| webview | int | -- | |
| 329 | +| file_name | string | -- | |
| 330 | +| __Return__ | string | -- | |
| 331 | + |
| 332 | +### run_js_byframe |
| 333 | + |
| 334 | +| Parameter | Type | description |
| 335 | +| --- | --- | --- | |
| 336 | +| webview | int | -- | |
| 337 | +| frameId | int | -- | |
| 338 | +| js_code | string | -- | |
| 339 | +| isInClosure | bool | -- | |
| 340 | +| __Return__ | string | -- | |
| 341 | + |
| 342 | +### run_js_global |
| 343 | + |
| 344 | +| Parameter | Type | description |
| 345 | +| --- | --- | --- | |
| 346 | +| webview | int | -- | |
| 347 | +| func_name | string | -- | |
| 348 | +| param_ls | list | -- | |
| 349 | +| this_func | string | -- | |
| 350 | +| __Return__ | string | -- | |
| 351 | + |
| 352 | +### wkeSetProxy |
| 353 | + |
| 354 | +| Parameter | Type | description |
| 355 | +| --- | --- | --- | |
| 356 | +| ip | string | -- | |
| 357 | +| port | string | -- | |
| 358 | +| proxy_type | int | 0:WKE_PROXY_NONE,1:WKE_PROXY_HTTP,2:WKE_PROXY_SOCKS4,3:WKE_PROXY_SOCKS4A,4:WKE_PROXY_SOCKS5,5:WKE_PROXY_SOCKS5HOSTNAME | |
| 359 | +| user | string | -- | |
| 360 | +| password | string | -- | |
| 361 | +| __Return__ | None | -- | |
| 362 | + |
| 363 | +### wkeSetViewProxy |
| 364 | + |
| 365 | +| Parameter | Type | description |
| 366 | +| --- | --- | --- | |
| 367 | +| webview | int | -- | |
| 368 | +| ip | string | -- | |
| 369 | +| port | string | -- | |
| 370 | +| proxy_type | int | -- | |
| 371 | +| user | string | -- | |
| 372 | +| password | string | -- | |
| 373 | +| __Return__ | None | -- | |
0 commit comments