[Tutor] General method for creating a partitioned window

Alan Gauld alan.gauld at btinternet.com
Tue Aug 9 19:23:10 CEST 2011

On 09/08/11 15:44, Shwinn Ricci wrote:
> I am using wxPython and OpenGL,

I don't know anything about how OpenGL works with wxPython.
However in general one of the following strategies should work:

1) Create composite panel containing two child panels side by side.
    Create your graphics in the child panels using the OpenGL library.
2) Create a single panel and general two images using OpenGL and
    then blit those two images side by side on the panel.

Hopefully somebody with more OpenGL experience can give more direct help...

Alan G
Author of the Learn to Program web site

More information about the Tutor mailing list