Re: Resizable Not Working?

From: Date: Wed, 15 Feb 2006 11:38:55 +0000
Subject: Re: Resizable Not Working?
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6738@lists.php.net to get a copy of this message
Ron Tarrant wrote:
I don't know if this is a bug or not, but in the following code, the depricated method /set_policy()/ allows a window to be shrunk whereas /set_resizable()/ (the replacement method) does not: $window->set_policy(true, true, false); Is there any other way to allow shrinking of a window down past its initial size? Never mind; I figured it out. To allow a window to shrink, the depricated method:
$window->set_policy(true, true, false); becomes: $window->set_property("allow_shrink", true); Cheers, all! Hope this helps someone else, too. -Ron T. -- Ron Tarrant Blog:<A HREF="http://www.writingup.com/blog/phpgtk2">PHP-Gtk2</A>

« previous php.gtk.general (#6738) next »