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

Christian Hergert christian.hergert at gmail.com
Tue Apr 22 15:25:35 EDT 2008


My mistake, i read to quickly :-)

On Tue, Apr 22, 2008 at 11:43 AM, Brad Taylor <brad at getcoded.net> wrote:
> 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 at lists.ximian.com
>  http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>


More information about the Gtk-sharp-list mailing list