Re: gtk_text_new() and g++
- From: Tim Müller <zen18864 zen co uk>
- To: "Ariel Fritz" <duin tutopia com>, <gtk-app-devel-list gnome org>
- Subject: Re: gtk_text_new() and g++
- Date: Fri, 21 Nov 2003 15:59:06 +0000
On Friday 21 November 2003 15:11, Ariel Fritz wrote:
I´m trying to use gtk_text_new() on my application.
I´m using gtk 2.0 and I´m try to compile it with g++.
When I try to compile my application compiler show me:
"gtk_text_new() undeclared" why?
In the other hand, if I test text example (is text.c file and it is
compiled with gcc)
Any Idea?
http://mail.gnome.org/archives/gtk-app-devel-list/2003-November/msg00132.html
In short: you need to do
#define GTK_ENABLE_BROKEN
#include <gtk/gtk.h>
It's got nothing to do with g++ / gcc.
You should _really_ use GtkTextView though...
Cheers
-Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]