NewLines in a GtkText Widget



Hi,

my problem is the following: how to get NewLines into/from a GtkText
widget? If I use the return Key, then a new line will be
inserted in the GtkText widget when entering text. But if I read the widget's contents
by gtk_editable_get_chars (<widget>,0,-1), then the output contains
no control character, especially no NL.

What do I wrong?

Regards

Joachim Backes

--

Joachim Backes <backes@rhrk.uni-kl.de>       | Univ. of Kaiserslautern
Computer Center, Supercomputing Division     | Phone: +49-631-205-2438 
D-67653 Kaiserslautern, PO Box 3049, Germany | Fax:   +49-631-205-3056 
---------------------------------------------+------------------------
WWW: http://sgi400.rhrk.uni-kl.de/home/staff/backes.html  



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