--- Begin Message ---
Hi All,
How can I set the initial size of a GtkSocket (I'm using Gtk 2.2.2 on
RH8 x86)?
I want to set the *initial* size of the socket to the size specified by
the WM_HINTS/PSIZE
that the embedee sets on its toplevel window (PSIZE is currently un-used
in gtksocket.c at all).
However I *do* want the user to be able to shrink the socket/embedded
window below
and above that initial size.
I'm looking for something similar to gtk_window_set_default_size() but for
a widget.
This is important for me, since I'm embedding NEdit (the text editor),
where one of the
user preferences is the initial size of the nedit window (expressed as
rows x cols). NEdit
takes this preference and after considering the size of the menu etc
sets PSIZE.
Any thoughts ?
Thanks in advance,
Gal.
--- End Message ---