How to produce a 'New Line' in GtkTextView ?



Hi guys,

Just in trouble trying to find why GtkTextView doesn't show a new line in this kind of code,

Glib::RefPtr<Gtk::TextBuffer> refTextBuffer = Gtk::TextBuffer::create();
refTextBuffer->insert_with_tag (refTextBuffer->end(), ".\n", refTag...);

Notice that the 2nd parameter of "insert_with_tag" is ".\n"... so why "\n" doesn't produce a new line here (instead of writing ".\n") ?

Glus


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