[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: TextTags for a whole TextBuffer
- From: Havoc Pennington <hp redhat com>
- To: Jesse Pavel <jpavel alum mit edu>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: TextTags for a whole TextBuffer
- Date: Fri, 9 May 2003 20:04:56 -0400
On Fri, May 09, 2003 at 05:45:50PM -0400, Jesse Pavel wrote:
>
> I'm trying to make a GtkTextView display all its text in a
> monospaced font. Using a GtkTextTag, with the appropriate
> properties set, I can use gtk_text_buffer_insert_with_tags to
> programatically insert text that has the appearance I want, but if
> the user types text in before or after this tagged block, the new
> text appears in the default style. Can someone point me at the
> right way to go about having all the text appear in my new style?
>
Use gtk_widget_modify_font() to change the default font for the
widget.
Havoc
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]