[pygtk] Child windows in parent help

emailme at bilsimser.com emailme at bilsimser.com
Sat Jan 19 01:06:34 WST 2008


Sent from my BlackBerry device on the Rogers Wireless Network

-----Original Message-----
From: "Simser, Bil" <SimserB at BANTREL.COM>

Date: Fri, 18 Jan 2008 08:38:56 
To:<emailme at bilsimser.com>
Subject: Child windows in parent help


Hi there, 
  
I'm currently doing a series of tutorials on updating Micropolis (the recent open source release of Sim City) and have a challenge with building a python gui using pygtk. I'm trying to figure out how to create floating type palette windows and wire it up to a main window where the children are clipped (then close all the children when the parent closes). 
  
Essentially I'd like to get the UI to look something like this: 
http://www.lauppert.ws/screen1/win16/simcity.png <http://www.lauppert.ws/screen1/win16/simcity.png> 
  
Or even this: 
http://www.cebe.heacademy.ac.uk/learning/habitat/HABITAT4/simcity2.gif <http://www.cebe.heacademy.ac.uk/learning/habitat/HABITAT4/simcity2.gif> 
  
I'm just not sure how to create multiple overlapping clipped child windows inside a main window using pygtk? 
  
Any help would be appreciated. Thanks.


More information about the pygtk mailing list