Re: Change font,size of column title
- From: Armin Burgmeier <armin arbur net>
- To: sirisha muppavarapu veralight com
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Change font,size of column title
- Date: Thu, 11 Dec 2008 20:17:46 +0100
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]