Skip to content

Commit 4d2b05e

Browse files
committed
Create Examples-README.md
1 parent 26d64ba commit 4d2b05e

File tree

3 files changed

+55
-3
lines changed

3 files changed

+55
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ CEF focuses on facilitating embedded browser use cases in third-party
2121
applications. Lots of applications use CEF control, there are more than
2222
[100 million CEF instances]
2323
(http://en.wikipedia.org/wiki/Chromium_Embedded_Framework#Applications_using_CEF)
24-
installed around the world. Examples of embedding Chrome browser are
25-
available for many popular GUI toolkits including: wxPython, PyGTK,
26-
PyQt, PySide, Kivy, Panda3D and PyGame/PyOpenGL.
24+
installed around the world. [Examples of embedding](examples/Examples-README.md)
25+
Chrome browser are available for many popular GUI toolkits including:
26+
wxPython, PyGTK, PyQt, PySide, Kivy, Panda3D and PyGame/PyOpenGL.
2727

2828
There are many use cases for CEF. You can embed a web browser control
2929
based on Chromium with great HTML 5 support. You can use it to create

docs/Examples.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Examples
2+
3+
Examples are available in the examples/ root directory. See
4+
[Examples-README.md](../examples/Examples-README.md).

examples/Examples-README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Examples
2+
3+
Table of contents:
4+
* [Supported examples](#supported-examples)
5+
* [More examples](#more-examples)
6+
7+
8+
## Supported examples
9+
10+
Examples provided in the examples/ root directory are actively
11+
maintained:
12+
13+
- [gtk2.py](gtk2.py): example for [PyGTK](http://www.pygtk.org/)
14+
library (GTK 2)
15+
- [gtk3.py](gtk3.py): example for [PyGObject/PyGI]
16+
(https://wiki.gnome.org/Projects/PyGObject) library (GTK 3).
17+
Currently broken on Linux/Mac, see top comments in sources.
18+
- [hello_world.py](hello_world.py): doesn't require any third party
19+
GUI framework
20+
- [qt4.py](qt4.py): example for [PyQt4](https://wiki.python.org/moin/PyQt4)
21+
and [PySide](https://wiki.qt.io/PySide) libraries (Qt 4)
22+
- [tkinter_.py](tkinter_.py): example for [Tkinter]
23+
(https://wiki.python.org/moin/TkInter). Currently broken on Mac.
24+
- [wxpython.py](wxpython.py): example for wxPython
25+
26+
If there are any issues in examples read top comments in sources
27+
to see whether this is a known issue with available workarounds.
28+
29+
30+
## More examples
31+
32+
There are even more examples available, some of them are externally
33+
maintained.
34+
35+
- Kivy framework:
36+
see [Kivy](https://github.com/cztomczak/cefpython/wiki/Kivy) wiki page.
37+
- Panda3D game engine:
38+
see [Panda3D](https://github.com/cztomczak/cefpython/wiki/Panda3D) wiki page.
39+
- PyGame/PyOpenGL:
40+
see [gist by AnishN](https://gist.github.com/AnishN/aa3bb27fc9d69319955ed9a8973cd40f)
41+
- Screenshot example:
42+
see [gist by stefanbacon](https://gist.github.com/stefanbacon/7b1571d57aee54aa9f8e9021b4848d06)
43+
- Old PyWin32 example:
44+
see [pywin32.py](https://github.com/cztomczak/cefpython/blob/cefpython31/cefpython/cef3/windows/binaries_32bit/pywin32.py)
45+
in the cefpython31 branch
46+
47+
There are ongoing efforts to add these examples to the official examples/
48+
directory, see issues in the tracker.

0 commit comments

Comments
 (0)