Re: Dialogs in middle of windows

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

 



On Tue, 7 Dec 2004, John Cupitt wrote:

On Tue, 7 Dec 2004 14:19:13 +0000 (GMT), Alex Buell
<alex.buell@xxxxxxxxxxxxx> wrote:
What's the best way to get a dialog perfectly centered in the middle of
a window? Currently my code seems to place the dialog in the center of
the screen instead of the window.

I think you need GTK_WIN_POS_CENTER_ON_PARENT.

I tried that, it doesn't seem to do what I wanted. It placed it at the bottom of the screen!


Any other ideas?

--
http://www.munted.org.uk

Go fly your cat today!
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux