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

Todd Berman tberman at off.net
Wed Jun 22 14:21:01 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?
> 
> /Christian
> 

Open up the glade file, go to the Common properties for the window, and
set Visible to false. Otherwise, it is shown when call the
Autoconnect/BindFields method (or when you create the XML object, either
way, its not what you want).

--Todd



More information about the Gtk-sharp-list mailing list