[Gtk-sharp-list] Gtk.TextView, space separated values

Brad Taylor brad at getcoded.net
Tue Apr 22 14:43:58 EDT 2008

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

Hope this helps.



More information about the Gtk-sharp-list mailing list