[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
回覆: Help:About Gtk_tree
- From: <andy2_cao pegatroncorp com>
- To: <larry yrral net>
- Cc: gtk-app-devel-list gnome org
- Subject: 回覆: Help:About Gtk_tree
- Date: Fri, 27 Feb 2009 23:06:40 +0800
Dear Larry,
Thank you very much, you are right!!!!!!!!
I try to use GtkTreeView next time.
Thanks again!
Best regards,
Andy
E-mail:andy2_cao pegatroncorp com
MSN: qjacao hotmail com
Phone: 021-61654325
-----原始?件-----
寄件者: Larry Reaves [mailto:larry 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_cao 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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]