> One of the ideas I tried was:
> window = GtkWindow(WINDOW_TOPLEVEL)
> window.set_policy(0,0,1)
> window.set_position(WIN_POS_CENTER)
> window.set_uposition(0,0)
> window.set_usize(screen_width(), screen_height())
> 
> This works fine without any wm (e. G. starting from the fail-safe xterm
> session), but when sawfish is active, it doesn't work (the window is
> shifted right and down, and the border is visible).

did you ever sort this out?  I have been using this:

window.set_decorated(gtk.FALSE)

for a similar situation, but alas under sawfish it works once in myabe 5
or 10 goes, then the rest of the times the border shows and I get the
right and down shift you had.

-- 

*
*  Rob Brown-Bayliss
*
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to