Re: textview vs textbuffer



On Fri, 2004-03-19 at 17:53, Terje Eggestad wrote:
> I'm curious about one thing, tags are applied per textbuffer (which
> make sense to me) but changes to the defaults are done per textview,
> which to don't make sense, the same buffer is connected to two views
> can have different appearances...
> 
> Is this deliberate?
> 

The way to think about it is that the tags override the theme. The theme
settings (GtkStyle) are per-widget, so the defaults are per-widget. But
the overrides are per-text-range and thus properties of the buffer.

Havoc





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