Re: textview vs textbuffer
- From: Havoc Pennington <hp redhat com>
- To: Terje Eggestad <terje eggestad iname com>
- Cc: gtk-list <gtk-list gnome org>
- Subject: Re: textview vs textbuffer
- Date: Sat, 20 Mar 2004 00:56:52 -0500
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]