[Tutor] General method for creating a partitioned window

Alan Gauld alan.gauld at btinternet.com
Fri Aug 5 01:37:26 CEST 2011


On 04/08/11 20:52, Shwinn Ricci wrote:
> Say I want one half of a 720 x 480 window be dedicated for creating a
> 2-D structure, and the other half for a 3-D structure. There would be a
> line 1 or 2 pixels thick straight down the window that would divide the
> two sectors. How does one go about doing this without creating two
> separate GUI window frames? I do not have my code with me right now, I
> can post as soon as I have access to it.

You need to give yus more detail. This kind of thing is very GUI 
frame-work specific. Are you using Tkinter? wxPython?, Cocoa on MacOSX?

They are all different.

And because you want to do graphics you also need to tell us what 
graphics toolkit you are using? OpenGL? Something else?

Or are you trying to script Blender or Maya or some other 2D/3D 
modelling tool?


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/






More information about the Tutor mailing list