How to Clear and Set text content of GtkTextView?

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

 



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



==========================================================
 捷運偷拍的始作俑者
 http://edm-prg.epaper.com.tw/click.php?ad_code=34621
==========================================================
 PChome交友~~幸福天天有 \*^o^*//
 http://love.pchome.com.tw/
==========================================================
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux