docs: def _configure(self, *args):
          """Configure viewport
  
          This method is called when the widget is resized or something triggers a redraw. The method configures the
          view to show all elements in an orthogonal perspective.
          """
          # Obtain a reference to the OpenGL drawable
          # and rendering context.
          gldrawable = self.get_gl_drawable()
          glcontext = self.get_gl_context()
  
          # logger.debug("configure")
          # OpenGL begin
          if not gldrawable or not gldrawable.gl_begin(glcontext):
              return False
  
          # Draw on the full viewport
          glViewport(0, 0, self.get_allocation().width, self.get_allocation().height)
  
          glMatrixMode(GL_PROJECTION)
          glLoadIdentity()
  
          # Orthogonal view with correct aspect ratio
          self._apply_orthogonal_view()
  
          glMatrixMode(GL_MODELVIEW)
          glLoadIdentity()
  
          # OpenGL end
          gldrawable.gl_end()
  
          return False