Re: dialog window resize
- From: Kevin Ryde <user42 zip com au>
- To: Attila bardi <attila bardi gmail com>
- Cc: gtk-perl-list gnome org
- Subject: Re: dialog window resize
- Date: Fri, 11 Mar 2011 11:13:01 +1100
Attila bardi <attila bardi 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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]