[Gtk-sharp-list] How does one set the size of a window before
displaying it?
Kevin Francis
kevin@loose-screws.com
Sun, 10 Apr 2005 14:21:22 +0800
Well, I managed to get the window sized before display by setting it to
non-visible, then doing a .Resize(). One problem though--when I
ShowAll() it, nothing appears except the blank window. No widgets,
nothing. Just the window.
Any ideas?
Kevin Francis wrote:
> streaI am using glade to define a window, MainWindow, and I cannot seem to
> set the size before displaying, or after either. I wish to set the size
> to the last size before previous exit, something which I am storing in
> GConf.
>
> I did achieve partial success with some Gdk method (which I now forget)
> and setting the window hidden in Glade, however when I displayed it with
> Show() or ShowAll(), it displayed no widgets...
>
> I've found no method/property that will do this, even though advertised
> in the documentation.
>
> My code is at these URLs:
> http://pastebin.arslinux.com/1658
> http://pastebin.arslinux.com/1659
>
> Cheers.
--
Kevin Francis