Re: Help on gtkText how read it



On Wednesday 20 October 2004 15:11, gtk rapp-informatik de wrote:

what is the equivalent funktion for the text widget to read the users input
For the entry I use  "gtk_entry_get_text"  ist there a  function like
gtk_text_get_text

GtkText implements GtkEditable, so you can use

   gtk_editable_get_chars (GTK_EDITABLE (gtktext), 0, -1);

or so.

(note that GtkText is deprecated and has been replaced by the much nicer and 
much more powerful GtkTextView widget).

Cheers 
 -Tim



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