Wraping text in TreeView



Hello.

I have a big problem and don't know where to hit with it.
I'm developing a small program and i'm using Gtk::TreeView in it. I've wanted to wrap the text so I've went to http://gtk.org/doc, I've searched and write somthink like:

cell_renderer_text->property_wrap_mode() = Pango::WRAP_WORD;
cell_renderer_text->property_wrap_width() = 200;

But hey! When I'm compiling it theres an error that says that there is no such methods in Gtk::CellRendererText class. So why it is in documentation?? And How i should wrap my text in TreeView then?

Please help me.

P.S.
Sorry for my english ;)


-------------------------------
    Darmowy hosting zdjec
      http://www.iv.pl
-------------------------------





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