Re: Where has set_policy method gone?
- From: Ross McFarland <rwmcfa1 neces com>
- To: Beanz <gtk-perl beanz uklinux net>
- Cc: Gtk-Perl-List <gtk-perl-list gnome org>
- Subject: Re: Where has set_policy method gone?
- Date: 30 Jul 2003 18:19:44 -0400
On Wed, 2003-07-30 at 17:31, Beanz wrote:
With 0.26 I was using the set_policy method to make a window resizeable,
but that method disappeared in 0.90. Is there some other method that
I should be using for this now?
Regards,
Beanz.
according to:
http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html#gtk-window-set-policy
"Warning:
gtk_window_set_policy is deprecated and should not be used in
newly-written code. Use gtk_window_set_resizable() instead."
it was accidentally included in all versions up until version 0.90.
set_resizable is implemented so you should be able to use it in place of
the set_policy call.
-rm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]