You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/cefpython.md
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,11 +34,10 @@ Table of contents:
34
34
35
35
### CreateBrowser
36
36
37
-
Create browser asynchronously (does not return Browser object).
38
-
See `CreateBrowserSync()` for params list.
39
-
40
-
NOTE: currently this is just an alias and actually creates browser
41
-
synchronously. The async call to CefCreateBrowser is yet TODO.
37
+
Not yet implemented - currently this method just calls [CreateBrowserSync](#createbrowsersync).
38
+
In upstream CEF this method creates browser asynchronously. Currently
39
+
CEF Python depends on browser being created synchronously in a few parts
40
+
of code.
42
41
43
42
44
43
### CreateBrowserSync
@@ -82,8 +81,7 @@ This hook does the following: in case of exception write it to
82
81
the "error.log" file, display it to the console, shutdown CEF
83
82
and exit application immediately by ignoring "finally" (_exit()).
84
83
85
-
If you would like to implement a custom hook take a look at the
86
-
source code of ExceptHook in the cefpython/src/helpers.pyx file.
84
+
See also Tutorial: [Handling Python exceptions](../docs/Tutorial.md#handling-python-exceptions).
87
85
88
86
89
87
### GetAppSetting
@@ -233,7 +231,7 @@ Description from upstream CEF:
233
231
| --- | --- |
234
232
| threadId | int |
235
233
| func | object |
236
-
|...|*args|
234
+
|[args..]|mixed|
237
235
|__Return__| void |
238
236
239
237
Post a task for execution on the thread associated with this task runner. Execution will occur asynchronously. Only Browser process threads are allowed.
0 commit comments