Re: BonoboStream from Moniker



Hi Michael,

On 25 Jan 2002, Michael Meeks wrote:
> On Fri, 2002-01-25 at 16:30, Jens Finke wrote:
> > I am trying to create a file and populate it with data through the
> > BonoboStream interface (Gnome 2.0!):
> >
> > stream = bonobo_get_object ("file:/home/jens/temp/test.png",
> >                             "Bonobo/Stream", NULL);
> >
> > This doesn't work and aborts with the error "file doesn't exist" (or
> > similar). Sure, but how can I tell the moniker to create the file and make
> > it writeable? Thanks.
>
> 	Hmm - that sucks. Well - I suppose we're going to need to put some
> options on the end of the moniker - a little like file:/foo.bar,+ or
> something - use the fopen type syntax, escape commas in the string, and
> update the moniker.
>
> 	How does that sound ? it's a pain - but not that much, can you take it
> on ?

I will look into this issue. But I will probably bug you with some dumb
questions about the way monikers work ;)!

Regards,

   Jens

-- 
"Wer die Freiheit aufgibt, um Sicherheit zu gewinnen, wird am Ende beides
verlieren." -- Benjamin Franklin




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