How to Clear and Set text content of GtkTextView?



Hi,
I use gtk+ to develope a program.
This program need to get data from database(MySQL) and restore data to
database.
I use GtkTextView to show comments context.
First, i need to clear the text content of GtkTextView,
Second, get data from database, and set content to GtkTextView..

Can anyone tell me how should i do,please...
Or is there any example code for unstanding GtkTextView.
There are no infos on Gtk+ tutorial..

Thanks.

KC



==========================================================
 ±¶¹B°½©çªº©l§ «MªÌ
 http://edm-prg.epaper.com.tw/click.php?ad_code=34621
==========================================================
 PChome¥æ¤Í~~©¯ºÖ¤Ñ¤Ñ¦³ \*^o^*//
 http://love.pchome.com.tw/
==========================================================



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