Re: Change font,size of column title



On Thu, 2008-12-11 at 12:03 -0700, Sirisha Muppavarapu wrote:
> Hi there...
> 
> I am looking for the method/piece of code which changes the
> font/size,etc of the column title of the columns added to the treeview.
> 
> treeView.modify_font(Pango::FontDescription(font));
> 
> doesn't seem to be helping. It changes the row's font but not the column
> title's font. gtkmm archive emails are of no help. I see many similar
> questions but no reply is posted! Any pointers in this direction is
> highly appreciated.

You could try using Gtk::TreeViewColumn::set_widget. Set a Gtk::Label
with your desired font settings as the column's widget.

> Thanks

Armin



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