Re: another Gtk2::Expander Q
- From: muppet <scott asofyet org>
- To: Dirk van der Walt <vrygesel highveldmail co za>
- Cc: gtk-perl-list gnome org
- Subject: Re: another Gtk2::Expander Q
- Date: Tue, 13 Sep 2005 09:26:20 -0400
On Sep 12, 2005, at 9:32 AM, Dirk van der Walt wrote:
Now I've got the state correct, I want to shrink the window
on the closing of the expander.
Which will be the correct way? "resize" brings me no joy.
Typically, if you want the window to size itself based on the
contents of an expander, you *probably* don't want the user to be
able to resize the window.
If you turn off "resizable", then the window will shrink to the size-
request, which does what you want when there is an expander in the
window.
$window->set_resizable (FALSE);
Now, if you need the window to be user-resizable and also grow and
shrink by the height of the expander, then you have to do something
more complicated.
--
elysse (pregnant): are your hands cold?
me: uh, i suppose so.
elysse: will you put them on me?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]