Update docs · BitCoding/cefpython@8afe4c2 · GitHub
Skip to content

Commit 8afe4c2

Browse files
committed
Update docs
1 parent 73c84b2 commit 8afe4c2

5 files changed

Lines changed: 27 additions & 23 deletions

File tree

README.md

Lines changed: 10 additions & 8 deletions

api/API-index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,9 @@
263263
* [SetProperty](JavascriptBindings.md#setproperty)
264264
* [JavascriptCallback (object)](JavascriptCallback.md#javascriptcallback-object)
265265
* [Call](JavascriptCallback.md#call)
266-
* [GetName](JavascriptCallback.md#getname)
266+
* [GetFrame](JavascriptCallback.md#getframe)
267+
* [GetId](JavascriptCallback.md#getid)
268+
* [GetFunctionName](JavascriptCallback.md#getfunctionname)
267269
* [JavascriptDialogHandler (interface)](JavascriptDialogHandler.md#javascriptdialoghandler-interface)
268270
* [Continue](JavascriptDialogHandler.md#continue)
269271
* [OnJavascriptDialog](JavascriptDialogHandler.md#onjavascriptdialog)

api/Browser.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Explicitly close the associated DevTools browser, if any.
169169

170170
### DragTargetDragEnter
171171

172-
| | |
172+
| Parameter | Type |
173173
| --- | --- |
174174
| drag_data | [DragData](DragData.md) |
175175
| x | int |
@@ -189,7 +189,7 @@ Description from upstream CEF:
189189

190190
### DragTargetDragOver
191191

192-
| | |
192+
| Parameter | Type |
193193
| --- | --- |
194194
| x | int |
195195
| y | int |
@@ -217,7 +217,7 @@ Description from upstream CEF:
217217

218218
### DragTargetDrop
219219

220-
| | |
220+
| Parameter | Type |
221221
| --- | --- |
222222
| x | int |
223223
| y | int |
@@ -233,7 +233,7 @@ Description from upstream CEF:
233233

234234
### DragSourceEndedAt
235235

236-
| | |
236+
| Parameter | Type |
237237
| --- | --- |
238238
| x | int |
239239
| y | int |

api/cefpython.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,10 @@ Table of contents:
3434

3535
### CreateBrowser
3636

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.
4241

4342

4443
### CreateBrowserSync
@@ -82,8 +81,7 @@ This hook does the following: in case of exception write it to
8281
the "error.log" file, display it to the console, shutdown CEF
8382
and exit application immediately by ignoring "finally" (_exit()).
8483

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).
8785

8886

8987
### GetAppSetting
@@ -233,7 +231,7 @@ Description from upstream CEF:
233231
| --- | --- |
234232
| threadId | int |
235233
| func | object |
236-
| ... | *args |
234+
| [args..] | mixed |
237235
| __Return__ | void |
238236

239237
Post a task for execution on the thread associated with this task runner. Execution will occur asynchronously. Only Browser process threads are allowed.

docs/Knowledge-Base.md

Lines changed: 4 additions & 2 deletions

0 commit comments

Comments
 (0)