Dear Larry,

        Thank you very much, you are right!!!!!!!!
        I try to use GtkTreeView next time.
        Thanks again!

Best regards,
Andy
 
 
e-mail:andy2_...@pegatroncorp.com
MSN:   qja...@hotmail.com
Phone:  021-61654325 
-----原始�]件-----
寄件者: Larry Reaves [mailto:la...@yrral.net] 
寄件日期: 2009年2月27日 22:55
收件者: Andy2_Cao(曹烈安_PSH)
副本: gtk-app-devel-list@gnome.org
主旨: Re: Help:About Gtk_tree

On Fri, 2009-02-27 at 17:16 +0800, andy2_...@pegatroncorp.com wrote:
> Dear All,
> 
>  
> 
>     I have many puzzles as a newer in gtk develop field,hope can get helps 
> from you ,thanks firstly。
> 
>  
> 
>     Now, I have a problem about gtk_tree: If I used gcc to compile a tree.c, 
> it correct! But if I changed the file name to tree.cpp and used g++ to 
> compile it, there will appear many errors, as example , “gtk_tree_new” is not 
> defined in this scope!!! I have include the <gtk/gtk.h>, If you kown what’s 
> wrong,please tell me as soon as possible.
> 
>  
1.  Gtk+ is a C library.  If you want to use C++, take a look at Gtkmm-
http://www.gtkmm.org/

2.  From the docs:
GtkTree is deprecated and unsupported. It is known to be buggy. To use
it, you must define the symbol GTK_ENABLE_BROKEN prior to including the
GTK+ header files. Use GtkTreeView instead.

> 
>     Thanks.
> 
>  
> 
> 
> 
> Best regards,
> 
> Andy


-Larry

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to