Re: Odd GtkTextView behavior



On Wed, 2004-07-14 at 20:21, Ian King [ES] wrote:
> Hi Havoc,
> 
> I would imagine it would be a useful fix as from what I can see at the 
> moment there is no way to change the default style of the TextView so 
> that newly inserted characters can use the "current style".  This means 
> that when you are typing new text you always have to set the "current 
> style" to each new character, which of course is not good.  Is there a 
> way to change the default style of the TextView so that I can do it this 
> way instead of applying tags to the newly typed characters each time.

Yes, there are a bunch of default style settings 
(gtk_text_view_set_wrap_mode() etc. in combination with the standard
widget settings such as gtk_widget_modify_font())

Havoc





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]