Re: Bonobo UI stuff
- From: Martin Baulig <martin home-of-linux org>
- To: Michael Meeks <michael ximian com>
- Cc: Sander Vesik <Sander Vesik Sun COM>, Seth Nickell <snickell stanford edu>, gnome-components-list gnome org
- Subject: Re: Bonobo UI stuff
- Date: 09 Jul 2001 15:13:49 +0200
Michael Meeks <michael ximian com> writes:
> It may have eluded your research, but the XML in question (UI
> description) forms a part of the Bonobo UI API, which is built on top of a
> CORBA transport between a component and a container which may reside on
> different machines.
>
> I see no useful use of gnome-vfs here. A stream API on the other
> hand for streaming images - yes.
Well, I guess someone needs to go ahead and propose an API so we can talk
about it.
What about the following:
* We add a new section <image-factory> to the XML, like this:
<image-factory name="<local-to-the-component>">
<image name="<local-to-this-factory>" uri="something"/>
</image-factory>
Foreach <image-factory> section in the XML, a Bonobo::ImageFactory CORBA
object is created which maps image names to image uris and which can return
the image data as a Bonobo::Stream. The image factory should be local to the
component, so we don't need to worry about local file names etc.
* In the XML code, we reference images through this factory, for instance
<image factory="local-factory" name="image-name"/>
or
<image factory="ior-of-remote-factory" name="image-name"/>
--
Martin Baulig
martin gnome org (private)
baulig suse de (work)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]