[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Positioning Windows / Dialogs



Title: Positioning Windows / Dialogs

I am currently writting an app that has a longish load time due to quite a bit of initialization code,
for this reason i have added a "loading..." window at the start.

The question I have is purely for cosmetic reasons, but how would I go about "centering" the window.
GTK by default puts the window where it wants on the screen, what I want is to put it in the center,
with progress bar etc ( Like the GIMP's loadup ) but I don't know how to position the window / dialog box.

Can anyone give me a source snippet ?

thanks



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]