Re: How to make a TreeView use markup?
- From: Torsten Luettgert <t luettgert pressestimmen de>
- To: Paul Pogonyshev <pogonyshev gmx net>
- Cc: gtkmm-list gnome org
- Subject: Re: How to make a TreeView use markup?
- Date: Tue, 22 Aug 2006 20:53:54 +0200
On Di, 2006-08-22 at 00:24 +0300, Paul Pogonyshev wrote:
> Torsten Luettgert wrote:
> Snippet from my program:
>
> Gtk::CellRendererText& name_renderer = *manage (new Gtk::CellRendererText ());
> Gtk::TreeViewColumn& name_column = *manage (new Gtk::TreeViewColumn ("", name_renderer));
>
> name_column.add_attribute (name_renderer.property_text (), _category_columns._name);
> name_column.add_attribute (name_renderer.property_weight (), _category_columns._name_weight);
>
> _categories_tree->append_column (name_column);
>
> So I guess that `.property_markup ()' should do the trick, but I didn't
> try.
Works like a charm :-)
Thanks,
Torsten
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]