Why do you want to control the positions of the windows. If they are root windows I would leave it to the window manager, who should be quite clever about the positioning. It you want to nest the "windows" then use any positioning scheme that Gtk offers you. Maybe I am getting your notion of MDI wrong. When I think of MDI, I think of something like Gimp, a few root windows or gedit, a few documents tabbed (same with firefox). I am currently not seeing your point. I would actually more worry about the windows and application lifetime, ie. exiting the application when really no window is open anymore or running forever or attaching new windows to a running application after invocation of a new one. Sean On Tue, 2006-01-10 at 12:34 +0100, N poleone wrote: > On 1/10/06, Sean Farrell <rioki web de> wrote: > > You have two solutions use Bakery (see www.gtkmm.org Front page) that dose allot for you (but I don't like it) > > or you have to do it sort of at runtime. You run the main loop withought a parameter and you must call explicitly > > main::quit() but apart from that and counting how many windows are open, it is not much. > > > > Sean > > > > Ok, but doing so, I've to manage manually the position of the window.... > > -- > Ciao da > N poleone (ICQ# 266220356; MSN Messenger: napoleone1981 yahoo it) > "Le battaglie si vincono con gli uomini che si hanno, non con quelli che > si vorrebbero" (Napoleone Bonaparte) > "Le cose che possiedi prima o poi ti possiedono..." (Fight Club) > "Le donne possono avere bambini...gli uomini computers" (Anonimo)
Attachment:
signature.asc
Description: This is a digitally signed message part