Add GTK/OpenGL example (#100)

* Add GTK/OpenGL example
This commit is contained in:
Elias 2020-01-02 16:51:23 +01:00 committed by jaseg
parent dde7da1aec
commit 3205f1b6f8

View file

@ -193,8 +193,8 @@ PyQT embedding
win.show()
sys.exit(app.exec_())
PyGtk embedding
..............
PyGObject embedding
...................
.. code:: python
@ -237,6 +237,11 @@ Using OpenGL from PyQT
Github user cosven_ has managed to `make mpv render into a Qt widget using OpenGL
<https://gist.github.com/cosven/b313de2acce1b7e15afda263779c0afc>`__ through this python API.
Using OpenGL from PyGObject
...........................
Just like it is possible to render into a Qt widget, it `also is possible to render into a GTK widget
<https://gist.github.com/trin94/a930f2a13cee1c9fd21cab0393bf4663>`__ through this python API.
Coding Conventions
------------------