Attila bardi <attila.ba...@gmail.com> writes:
>
> Then how can I set the window size and remove the right from the UI user to
> resize it?

Maybe Gtk2::Window set_geometry_hints() saying the minimum and maximum
sizes the same value.

Or Gtk2::Gdk::Window set_functions() to take away the resize handles,
wherever that hides on the Gtk2::Window (or apply it after "realize").

Of course both depend on the window manager obeying those hints
settings.

I'd think forcibly disallowing resize is probably not a good idea
though.  Make the default size something sensible, and if the user makes
a mess later too bad.  Generally all widgets and windows are meant to do
at least something in any size, even if not very well, etc.  Resize
might even be important if you've botched a size calculation and the
user has to expand to see the full content.



-- 
The sigfile finance for the layman series:
In an annual report screaming unrealistic optimism is the normal tone
for the chairman's letter.  If it's anything less then expect to lose
money.
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to