Setting window position under fvwm2 doesn't work



Hi,

Setting window position to WIN_POS_CENTER has no effect under
fvwm2.  It seems to work fine under whatever wm RH6.2 ships in
its default Gnome configuration.  Does anybody know the trick
for getting window positioning to work under fvwm2?  (It seems
to work fine using Motif and Tk, but not Gtk).

FWIW, here's my test code:

------------------------------------------------------------
#!/usr/bin/python
from GTK import *
from gtk import *

win = GtkWindow()
win.set_border_width(20)
win.add(GtkLabel("Hello world"))
win.connect('destroy',mainquit)
win.set_position(WIN_POS_CENTER)
win.show_all()
mainloop()
------------------------------------------------------------

-- 
Grant Edwards
grante visi com




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