Re: Recommended way to handle deprecation?



On 01/04/04 00:23, Andreas Rottmann wrote:

1) If you start a new binding of some lib, don't wrap deprectated stuff.
The rule isn't always that simple though. In GTK 2.0 and 2.2, GtkCombo was non-deprecated but GtkList was deprecated. To use the GtkCombo, you needed to manipulate the child GtkList. As a compromise, only the GtkList constructor was set to raise a deprecation warning in PyGTK.

I don't think there are any cases like this in GTK 2.4, but they might occur again.

James.

--
Email: james daa com au
WWW:   http://www.daa.com.au/~james/





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]