What you want is to look at:
Window.DefaultHeight and Window.DefaultWidth to set the height/width
To get the height/width, I use:
private void OnSizeAllocated(object o, Gtk.SizeAllocatedArgs e)
{
Common.Settings.Set("/apps/transference/state/mainwindow_width",
e.Allocation.Width);
Common.Settings.Set("/apps/transference/state/mainwindow_height",
e.Allocation.Height);
}
e.Allocation.Height (or Width) allow grabbing the sizes :)
On Fri, 2005-06-17 at 18:34 +0100, Paulo Aboim Pinto wrote:
> Hello
>
> I'm developing and application with interfaces created in Glade2. I want
> to know how can I capture the event of resize the window.
>
> I had seen all the events in the properties and no one looks like resize
> window....
>
> Any one can explain how can I use this event and how can I use it?
>
> (())
> Esqueleto
>
> _______________________________________________
> Gtk-sharp-list maillist - [email protected]
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
--
Kevin Francis
http://denial.loose-screws.com/
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list