diff options
author | Elias <elias.mueller@mailbox.org> | 2020-01-02 16:51:23 +0100 |
---|---|---|
committer | jaseg <code@jaseg.net> | 2020-01-03 01:06:36 +0100 |
commit | 3205f1b6f8869f2714817d9d93ddadb48c839e83 (patch) | |
tree | 0db5b0b4af82a637d391212be665757fb6eacf6c | |
parent | dde7da1aec90597a96033922816564fe42436b42 (diff) | |
download | python-mpv-3205f1b6f8869f2714817d9d93ddadb48c839e83.tar.gz python-mpv-3205f1b6f8869f2714817d9d93ddadb48c839e83.tar.bz2 python-mpv-3205f1b6f8869f2714817d9d93ddadb48c839e83.zip |
Add GTK/OpenGL example (#100)
* Add GTK/OpenGL example
-rw-r--r-- | README.rst | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 ------------------ |