[Y-devel] XML Bundle widget

Dave Snowdon dsnowdon at club-internet.fr
Sun Feb 22 14:52:02 GMT 2004


Fred P. wrote:
<snip>

>> I was thinking that the way to go about building this would be to 
>> build a widget ("XML Bundle" seems like a good name) which implements 
>> a method with a string parameter which is interpreted as XML. The 
>> widget parses the XML (using a simple lightweight parser like expat) 
>> and instantiates the widgets. The XML file would allow the developer 
>> to name widgets - the names would then be associated with the id of 
>> the instantiated widget and used as properties on the XML Bundle so 
>> that client applications could then look up the identifiers for 
>> individual widgets.
>
>
> That would be cool. In fact, it would be nice to have a XUL interface 
> to Y,
> [ XML User Interface Language (XUL) ]
> porting application like Mozilla would be easier also.
>
> https://www.mozilla.org/projects/xul/
>
> It would be nice to have a compatible interface, maybe extend it as 
> needed.

OK, I hadn't considered XUL compatibility. I'll do some reading... thanks.
I suppose one issue might be that XUL compatibility would constrain the 
design of the Y toolkit - I'll need to read up on XUL to understand 
whether this could be an issue.

> For widget, XUL is about it.
>
> Another technology you may look at is SVG for form rendering and 
> projects like KSVG. 

Someone else already mentioned SVG support. That would be cool too but 
maybe that could be implemented independently (eg an SVG widget).

> Have fun,
> Fred. 

Of course!
Dave





More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved