Re: gtk-mailund-980804-0.patch.gz
- From: Owen Taylor <otaylor redhat com>
- To: gtk-devel-list redhat com
- Cc: Gtk+ Devils <gtkdev gtk org>
- Subject: Re: gtk-mailund-980804-0.patch.gz
- Date: 06 Aug 1998 13:36:05 -0400
Thomas Mailund Jensen <mailund@daimi.aau.dk> writes:
> >>>>> "OT" == Owen Taylor <otaylor@redhat.com> writes:
>
> OT> In that future scheme, it will make sense to have multiple
> OT> identical properties on a single bit of text, though only one
> OT> will apply at once, and only one would be specified per node. So
> OT> the first scheme would just be, in some sense, a special case of
> OT> that - with a completely flat tree, while the second scheme
> OT> wouldn't really map onto a heirarchy at all.)
>
> So, in the future it will look something like:
>
> [<html><title>foo</title><body><h1>bar?</h1></html>]
>
> <--h1------->
>
> <--title prop.---><---body----------------->
>
> < --- html property ------------------------------>
>
> where "closer to the text" means property takes precedence? That is,
> the [<h1>bar?</h1>] text property is h1 and not (or to lesser
> degree?) body or html.
Think rather:
<body fgcolor="blue" bgcolor="white"><table bgcolor="green">foo</table></body>
But I'm not sure there will be a concept of tag type, so perhaps,
rather:
<node bgcolor="white"><node bgcolor="green">foo</node></node>
That is, the properties are node attributes, rather than node
types. This isn't exactly HTML-like ; but it fits into the general
framework of XML/SGML (actually, it's pretty similar to how style
sheets work in some ways), and I think is more natural for a Text
widget, and more backwards compatible.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]