Re: Getting text out of a GtkTextView

2003-06-22 Thread Carl B. Constantine
* Seth Remington ([EMAIL PROTECTED]) wrote: You've created two pointers to a GtkTextIter, but they don't point to a valid GtkTextIter structure in memory. Here's what you probably meant to do... void insertCustomer( GtkWidget*customers ) { GtkTextBuffer *specialBuffer;

Re: Getting text out of a GtkTextView

2003-06-22 Thread Carl B. Constantine
* Carl B. Constantine ([EMAIL PROTECTED]) wrote: The following link tells you how to get the contents of the entire text widget as a string: http://developer.gnome.org/doc/API/2.0/gtk/gtk-question-index.html#id2850623 No it's not. that url doesn't resolve (at least as far as the #id

Getting text out of a GtkTextView

2003-06-18 Thread Carl B. Constantine
I have a GtkTextView in one of my application windows; mainly because a GtkEntry is only single width and I want text wrapping and so forth. Anyway, I'm trying to get the text from the GtkTextView but only end up with 'null' when I try to print it. Here is a code snipped: void insertCustomer(

Re: Getting text out of a GtkTextView

2003-06-18 Thread Seth Remington
You've created two pointers to a GtkTextIter, but they don't point to a valid GtkTextIter structure in memory. Here's what you probably meant to do... void insertCustomer( GtkWidget *customers ) { GtkTextBuffer *specialBuffer; GtkTextView *specialView;

Re: Getting text out of a GtkTextView

2003-06-18 Thread Alejandro García Rodríguez
Hello, list! The following link tells you how to get the contents of the entire text widget as a string: http://developer.gnome.org/doc/API/2.0/gtk/gtk-question-index.html#id2850623 GtkTextIter start, end; GtkTextBuffer *buffer; char *text; buffer =