[Gtk-sharp-list] Moving and resizing window before showing it

Dan Winship danw at novell.com
Wed Jun 22 13:32:12 EDT 2005


On Wed, 2005-06-22 at 16:25 +0200, Christian Rudh wrote:
> Hi
> 
> If I load a window from a glade file and then do window.Resize and
> Window.Move before showing it, it first appears briefly where Metacity
> places it default before it quickly moves to the position I set. How do
> I make it so it is placed on the right position before it shows?

On the "Common" page of the Properties window in the Glade, turn off the
"Visible" property on the window. Then it won't be displayed right away
when you load the glade file, so you can position it first, and then
call window.Show().

-- Dan




More information about the Gtk-sharp-list mailing list