Re: depreciated classes in GTK+2



On Saturday 07 September 2002 18:35, Carl B. Constantine wrote:
> So I'm looking through the GTK+2 reference manual in DevHelp book (which
> is a cool app I must say, reminds me of Apple's MPTA app, but more work
> needs to be done to these books to get them to be the same caliber), and
> I notice a number of classes that are considered "depreciated" such as
> GtkCList (which I was thinking of using in my app).
>
> What I don't notice is what should I use instead of these depreciated
> classes? There's no docs on what to replace them with or examples of how
> to change your code accordingly.
>
> Can anyone point me in the right direction?

In the specific example of GtkCList, you should use GtkTreeView.  Though 
hopefully you figured that out (see the "Tree and List Widget Overview" in 
the GTK+ reference manual for more information).

If you spot any cases where something is deprecated but where the replacement 
is not cited, perhaps you should file that as a bug in bugzilla?   Hopefully 
the API notes will get fixed that way.

I've done a bit of porting from GTK 1 to 2 and may be able to help if you 
encounter further problems.

Good luck
Dave




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