Re: Positioning of new top level windows



"S. Krishnan" <sri_krishnan yahoo com> writes: 
Can anyone suggest how I can ensure that the windows
stay centered on the screen?

There's gtk_window_set_position (window, GTK_POS_CENTER).

However, the window manager has final say, so it isn't _guaranteed_ to
work. This will work with all wm's in common use though, I think.

Havoc




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