how do I get the text/contents of a Gtk::TextView



yeah hi list,
  I'm trying to work out how to save the content of a
Gtk::TextView  to a file , or for that matter  how do I
load one from a file??

I notice from the docs that the Gtk::TextView holds a
Gtk::TextBuffer object do I have to get this to solve
my problem if so how example code would be most
welcome thank you

-- 
  In my life God comes first.... but Linux is pretty high after that :-D
Grizzly(Francis Smit)
http://www.geekcode.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GM/CS/P/PA d- s+:+> a+>? C++++ UL++++@ P+ L+++ E--- W+++ N+(++) K w--- M-- V-- PS(+) PE(-) Y+(++) PGP++ t+(++) 5 X- R- tv b+++(++++) DI(--) D G e++(+++) h-- r- y-
------END GEEK CODE BLOCK------




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