RE: [gtkmm] TextView



> From: Craig Slusher [mailto:ouslush columbus rr com]  
> p_text->set_buffer(p_text->get_buffer().set_text("blah"+p_text
> ->get_buffer().ge
> t_text());}

I don't think this has anything to do with libglade.

Do explore the reference documentation:
http://www.gtkmm.org/gtkmm2/docs/reference/html/group__TextView.html

And some example code:
http://cvs.gnome.org/lxr/source/gtkmm/demos/gtk-demo/example_textview.cc#193
(I think refBuffer->begin() or refBuffer->end() might be better there than
refBuffer->get_iter_at_offset(0).

I really need to complete the TextView chapter in the book because that demo
code looks a bit too complex:
http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch09.html

Regexxer might provide more interesting TextView example code:
http://regexxer.sourceforge.net/

Murray Cumming
murrayc usa net
www.murrayc.com 






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