• Welcome to Valhalla Legends Archive.
 

GTK RichTextBox (or equiv)?

Started by rabbit, May 16, 2006, 02:05 PM

Previous topic - Next topic

rabbit

I'm having a hard time finding a RichTextBox or equivalent in GTK.  I've found TextView, but not any info on how to create one.  Anyone got any info?
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

Kp

You need to use it in conjunction with a GtkTextBuffer.  If you haven't already, check out <prefix>/share/gtk-doc/html/gtk.  It's an excellent reference for GTK functions, though it can be a tad short on examples.  Also, run gtk-demo to see various widgets in action and find out how they're named in GTK.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!