We first created a regular wxPython GUI and placed a button widget onto it. Clicking this button invokes the imported OpenGL 3D libraries. The code used is part of the wxPython demo examples, which we slightly modified to make the code work with Phoenix.
This recipe glued our own GUI to this library.
OpenGL is such a huge and very impressive library. This recipe gave a taste of how to create a working example in Python.
Often, a working example is all we need to get started on our journey.