Centering windows
- From: "Stephen Todd (CAH)" <spt24 mrao cam ac uk>
- To: gtk-list redhat com
- Subject: Centering windows
- Date: Thu, 23 Sep 1999 15:40:41 +0100 (BST)
I'm probably missing someting obvious, but how do I make a Gtk window
appear in the centre of the screen?
I've tried:
gtk_window_set_position (GTK_WINDOW(dialog), GTK_WIN_POS_CENTER);
but it seems to make no difference whatsoever. Where should it be in
relation to my gtk_widget_show(dialog) line? Or is it my window manager
(FVWM 2)?
Thanks,
Stephen Todd
--
Cavendish Astrophysics Group, University of Cambridge, UK
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]