Add GTK/OpenGL example#100
Merged
jaseg merged 3 commits intojaseg:masterfrom Jan 2, 2020
trin94:master
Merged
Conversation
McSinyx
reviewed
Jan 2, 2020
| sys.exit(app.exec_()) | ||
|
|
||
| PyGtk embedding | ||
| PyGObject embedding |
Contributor
There was a problem hiding this comment.
I believe the next line should be edited to match the length of this header.
Contributor
Author
There was a problem hiding this comment.
Thanks for pointing that out 😃 See 69337f8
Contributor
Author
I plan to add an example once #99 is fixed 😃 Edit: I removed the deprecation warning in the description as there is no alternative way to render it into a widget yet. Instead I added a comment that the API is deprecated. |
Owner
|
Thank you for the example! 😄 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the GTK equivalent to @cosven's Qt/OpenGL example.
Direct link to gist: https://gist.github.com/trin94/a930f2a13cee1c9fd21cab0393bf4663
Also see #99