How to make a TreeView use markup?



Hello,

I'm using Gtk::TreeViews with ListStore model a lot.
Now, I wanted to use pango markup in some columns, but
couldn't get it to work. I don't know too much about
CellRenderers etc., just adding the columns like

  treeviewTitel->append_column( "Titel", model_TitelListe.m_titel );

where model_TitelListe is an instance of a class derived
from Gtk::TreeModel::ColumnRecord, and m_titel is a
Gtk::TreeModelColumn<string>.

Any help?

Thanks in advance,
Torsten




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