On Tue, 2008-04-22 at 11:34 -0700, Christian Hergert wrote:
> The Gtk.CellRendererText class has properties to set the font.  See:
> 
> Gtk.CellRendererText.Font
> Gtk.CellRendererText.FontDesc
> Gtk.CellRendererText.Family
> 
> and perhaps others.

CellRendererText is only used for Gtk.TreeView, not Gtk.TextView.

If you want to change the font on Gtk.TextView, the easiest way to do it
for the entire view is:

my_text_view.ModifyFont (Pango.FontDescription.FromString
("monospace"));

Hope this helps.

Cheers,

-Brad

_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to