|
| 1 | +This is just a draft that outlines topics yet to be written. |
| 2 | +TODO: see the CEF Tutorial wiki |
| 3 | + |
| 4 | +# Tutorial |
| 5 | + |
| 6 | + |
| 7 | +## Download and install |
| 8 | + |
| 9 | +* download from Releases/ |
| 10 | +* types of packages for each platform |
| 11 | +* install from PyPI using pip (Win/Mac) |
| 12 | + |
| 13 | + |
| 14 | +## Simple example using wxPython |
| 15 | + |
| 16 | +* paste code, most simple example loading www.google.com, |
| 17 | + shouldn't be more than 20 lines. |
| 18 | + |
| 19 | +* Explain all functions from the example: |
| 20 | + - initialize() |
| 21 | + you can call initialize and shutdown only once |
| 22 | + - shutdown() |
| 23 | + - to exit cleanly |
| 24 | + - cookies or other storage might not be saved (flushed every 30 secs) |
| 25 | + process might freeze (XP experienced) |
| 26 | + - messageloop |
| 27 | + - messageloopwork |
| 28 | + - messageloop faster, but this one allows integration into |
| 29 | + existing message loop |
| 30 | + |
| 31 | +* ExceptHook in examples so that all processes are closed in |
| 32 | + case of a python error |
| 33 | + |
| 34 | +* there are more examples in the examples/ directory. |
| 35 | + |
| 36 | + |
| 37 | +## Settings |
| 38 | + |
| 39 | +* Describe a few most commonly used settings. |
| 40 | +* Command-line switches from Chromium. |
| 41 | +* Disable developer-tools or context menu |
| 42 | + - application settings context menu dict. |
| 43 | + |
| 44 | + |
| 45 | +## Documentation and help |
| 46 | + |
| 47 | +* see the api/ directory. |
| 48 | + - API categories.md and API full index.md |
| 49 | + will help you navigate through API. |
| 50 | + |
| 51 | +* knowledge base document |
| 52 | + |
| 53 | +* "Search this repository" to search through documentation and code |
| 54 | + |
| 55 | +* Try google "cef +search-phrase" |
| 56 | + |
| 57 | +* Forum - ask questions and report problems there, not in Issue Tracker |
| 58 | + |
| 59 | +* See Tutorial-intermediate. |
0 commit comments